<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1' />
    <meta name="renderer" content="webkit">
    <meta http-equiv="Expires" content="0">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-control" content="no-cache">
    <meta http-equiv="Cache" content="no-cache">
    <title>Apipost接口文档</title>
    <link href="https://img.cdn.apipost.cn/docs/css7/style.css?20220909" rel="stylesheet">
    <link href="https://img.cdn.apipost.cn/docs/css/font-awesome-4.7.0/css/font-awesome.min.css?20220909" rel="stylesheet">
    <link href="https://img.cdn.apipost.cn/docs/css7/github.css?20220909" rel="stylesheet">
    <link rel="stylesheet" href="https://img.cdn.apipost.cn/docs/css7/content-v7.css?20220909">
    <link href="https://img.cdn.apipost.cn/docs/css7/json-viewer.css?20220909" rel="stylesheet">
    <script type="text/javascript" src="https://img.cdn.apipost.cn/docs/js/jquery-3.4.1.min.js?20220909"></script>
    <script type="text/javascript" src="https://img.cdn.apipost.cn/docs/js7/marked.min.js?20220909"></script>
    <script type="text/javascript" src="https://img.cdn.apipost.cn/docs/js7/template-web.js?20220909"></script>
    <script type="text/javascript" src="https://img.cdn.apipost.cn/docs/js7/highlight.js?20220909"></script>
    <script type="text/javascript" src="https://img.cdn.apipost.cn/docs/js7/clipboard.min.js?20220909"></script>
    <script type="text/javascript" src="https://img.cdn.apipost.cn/docs/js7/crypto-js.min.js?20220909" charset="utf-8"></script>
    <script type="text/javascript" src="https://img.cdn.apipost.cn/docs/js/json5.min.js?20220909"></script>
    <script type="text/javascript" src="https://img.cdn.apipost.cn/docs/js/dayjs.min.js?20220909"></script>
    <script type="text/javascript" src="https://img.cdn.apipost.cn/docs/js/url-join.js?20220909"></script>
    <!-- <script type="text/javascript" src="./js/enc.min.js"></script> -->
    <script type="text/javascript" src="https://img.cdn.apipost.cn/docs/js/json-viewer.min.js?20220909"></script>
    <script type="text/javascript" src="https://img.cdn.apipost.cn/docs/js/lodash.min.js?20220909"></script>
    <script type="text/javascript">
        consoleLog = console.log; // 重写 consoleLog
        $(function () {

        })
    </script>
</head>

<body>
<div class="apipost-doc-body">
    <div class="apipost-doc-body-main">
        <div class="apipost-doc-body-nav">
            <div class="logo">
                <a href="https://www.apipost.cn/"><img class="project-logo" src="https://img.cdn.apipost.cn/docs/images7/logo.svg" /></a>
            </div>
            <div class="apipost-doc-body-nav-search">
                <img src="https://img.cdn.apipost.cn/docs/images7/search-icon.svg">
                <input type="text" name="search-input" placeholder="搜索目录、接口。支持 名称、URL、Method 搜索">
            </div>
            <div class="apipost-doc-body-nav-title"> 项目名 </div>
            <div class="apipost-doc-body-nav-list">
                <ul>
                    <li data-type="global" data-parent_id="0" data-target_id="001" data-indent="0"
                        class="global active">
                        <a class="load-data-btn" href="javascript:;" data-type="global" data-parent_id="0"
                           data-target_id="001" data-indent="0">全局公共参数</a>
                    </li>
                </ul>
                <ul class="apipost-left-nav-template">
                    <script type="text/html" id="apipost-left-nav-template-tpl">
                        {{if _.isArray(list)}}
                        {{each list item}}
                        {{if !item.indent}}
                        {{set indent = item.indent = 0}}
                        {{/if}}
                        <li data-type="{{item.target_type}}" data-parent_id="{{item.parent_id}}" data-target_id="{{item.target_id}}" data-indent="{{item.indent}}" class="{{item.target_type}} {{if target_id == item.target_id}}active{{/if}} {{if item.indent != 0}}is-hidden{{/if}}" style="padding-left: {{item.indent?item.indent:0}}em;">
                            {{if item.target_type == 'folder' || item.example_type == 'folder'}}
                            <a class="load-data-btn" href="javascript:;" data-type="{{item.target_type}}" data-parent_id="{{item.parent_id}}" data-target_id="{{item.local_target_id}}" data-indent="{{item.indent}}"><i class="fa fa-caret-down"></i>{{item.name}}</a>
                            {{else if item.target_type == 'websocket' || item.example_type == 'websocket'}}
                            <a class="load-data-btn" href="javascript:;" data-type="{{item.target_type}}" data-parent_id="{{item.parent_id}}" data-target_id="{{item.local_target_id}}" data-indent="{{item.indent}}"><em class="method websocket">WS</em><span>{{item.name}}</span></a>
                            {{else if item.target_type == 'doc' || item.example_type == 'doc'}}
                            <a class="load-data-btn" href="javascript:;" data-type="{{item.target_type}}" data-parent_id="{{item.parent_id}}" data-target_id="{{item.local_target_id}}" data-indent="{{item.indent}}"><em class="method doc">文本</em><span>{{item.name}}</span></a>
                            {{else if item.target_type == 'grpc' || item.example_type == 'grpc'}}
                            <a class="load-data-btn" href="javascript:;" data-type="{{item.target_type}}" data-parent_id="{{item.parent_id}}" data-target_id="{{item.local_target_id}}" data-indent="{{item.indent}}"><em class="method grpc">GRPC</em><span>{{item.name}}</span></a>
                            {{else}}
                            <a class="load-data-btn" href="javascript:;" data-type="{{item.target_type}}" data-parent_id="{{item.parent_id}}" data-target_id="{{item.local_target_id}}" data-indent="{{item.indent}}"><em class="method {{item.method}}">{{item.method}}</em><span>{{item.name}}</span></a>
                            {{/if}}
                            {{if item.target_type != 'folder' && item.color}}
                            <span style="margin-left:5px;display:inline-block;width:6px;height:6px;border-radius:50%;background-color: {{item.color}};"></span>



                            {{/if}}
                            {{if item.target_type == 'example'}}
                            <svg style="margin-left:5px;" width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
                                <path d="M4.91033 6.68207H3.30033C3.09013 6.68207 2.94513 6.4768 3.01993 6.28529L4.61973 2.18849C4.64137 2.13306 4.67976 2.08536 4.72982 2.0517C4.77987 2.01804 4.83923 2.00001 4.90003 2H7.59962C7.81262 2 7.95782 2.21054 7.87742 2.40303L6.94592 4.63367H8.69951C8.95741 4.63367 9.09501 4.93026 8.92491 5.11933L4.62553 9.89887C4.41653 10.1313 4.02903 9.92989 4.11013 9.63106L4.91033 6.68207Z" fill="#FFC01E"/>
                            </svg>
                            {{/if}}
                        </li>
                        {{if _.isArray(item.children)}}
                        {{each item.children as childrenItem key}}
                        {{if item.children[key].indent}}
                        {{set indent = item.children[key].indent = item.children[key].indent+2}}
                        {{else}}
                        {{set indent = item.children[key].indent = item.indent + 2}}
                        {{/if}}
                        {{/each}}

                        {{set _recursiveList ={list:item.children}; }}
                        {{include 'apipost-left-nav-template-tpl' _recursiveList}}
                        {{/if}}
                        {{/each}}
                        {{/if}}
                    </script>
                </ul>
            </div>
            <div class="apipost-doc-body-nav-drag-bar"></div>
        </div>
        <div class="apipost-doc-body-content">
            <div class="apipost-doc-wrap">
                <script type="text/html" id="apipost-doc-wrap-tpl">
                    <div class="apipost-doc-wrap-title">
                        <h2 class="title" data-text="{{data.name}}" id="{{data.name}}">
                            <div class="mobile-nav-toggle-btn">
                                <a href="javascript:;" class="mobile-nav-toggle-link-btn"><i class="fa fa-reorder"></i></a>
                            </div>
                            <div class="title-text">{{data.name}}</div>
                            {{if data.target_type == 'api' || data.example_type == 'api'}}
                            <button type="button" class="copy-clipboard" data-clipboard-text="{{JSON.stringify(data.copyData)}}"><i class="fa fa-copy"></i> 复制接口 </button>
                            {{/if}}
                            {{if data.target_type == 'api' || data.target_type == 'grpc' || data.target_type == 'websocket' || data.example_type == 'api' || data.example_type == 'grpc' || data.example_type == 'websocket'}}
                            <a type="button" class="copy-clipboard" data-clipboard-text="{{JSON.stringify(data)}}" href="https://v7.apipost.cn/#/apis/run?target_id={{data.target_id}}" target="_blank">去调试</a>
                            {{/if}}
                        </h2>
                    </div>
                    <div class="apipost-doc-wrap-desc">
                        <!-- 创建人：哈利厄 最后更新：哈利厄 &nbsp;&nbsp; -->
                        创建时间：{{data.format_create_dtime}} &nbsp;&nbsp;更新时间：{{data.format_update_dtime}}
                    </div>
                    {{if _.has(data, 'request.description')}}
                    <div class="apipost-doc-wrap-para-markdown">
                        <div class="markdown-section">{{@marked(data.request.description)}}</div>
                    </div>
                    {{/if}}
                    {{if data.target_type == 'grpc' || data.example_type == 'grpc'}}
                    <h3 class="apipost-doc-wrap-para-title" data-text="基本信息" id="基本信息">
                        <i class="fa fa-wpforms"></i>
                        <span>基本信息</span>
                    </h3>
                    <ul class="apipost-doc-wrap-base-para">
                        {{if _.has(data, 'formatMark') && _.isObject(data.formatMark)}}
                        <li><span>接口状态： </span><span style="color: {{data.formatMark.color}};">{{data.formatMark.name}}</span> </li>
                        {{/if}}
                    </ul>
                    {{if _.has(data, 'protos') && _.isObject(data.protos) && Object.values(data.protos).length > 0}}
                    <h3 class="apipost-doc-wrap-para-title" data-text="方法列表" id="方法列表">
                        <i class="fa fa-wpforms"></i>
                        <span>方法列表</span>
                    </h3>
                    {{each data.protos item key}}
                    {{if _.has(item, 'services') && _.isObject(item.services) && !_.isEmpty(item.services)}}
                    <h4 class="apipost-doc-wrap-para-title" data-text="{{key}}" id="{{key}}">
                        <span>{{key}}</span>
                    </h4>
                    <div class="apipost-doc-paras" for-id="{{key}}">
                        {{each item.services service namespace}}
                        {{if _.isObject(service)}}
                        {{each service method methodName}}
                        <h5 data-text="{{namespace}}/{{methodName}}" id="{{namespace}}/{{methodName}}"><a name="{{key}}/{{namespace}}/{{methodName}}">[method]</a> {{key}}/{{namespace}}/{{methodName}}</h5>
                        <ul class="apipost-doc-wrap-base-para">
                            <li><span>方法名： </span><span><i class="copy-clipboard"  data-clipboard-text="{{methodName}}">{{methodName}}</i></span> </li>
                            <li><span>服务地址： </span><span><i class="copy-clipboard"  data-clipboard-text="{{method.url}}">{{method.url}}</i></span> </li>
                        </ul>
                        {{if _.has(method, 'request.body.raw') && method.request.body.raw != ''}}
                        <h6 data-text="请求参数" id="请求参数">请求参数</h6>
                        <div class="apipost-raw-json request-body-json-view">
                            <button type="button" class="copy-clipboard" data-clipboard-text="{{method.request.body.raw}}"><i class="fa fa-clipboard"></i>复制</button>
                            <input type="hidden" id="request-body-raw-editor-input-{{methodName}}" value='{{method.request.body.raw}}'>
                            <pre class="request-body-raw-editor-json" id="request-body-raw-editor-json-{{methodName}}"><code class="json">{{method.request.body.raw}}</code></pre>
                        </div>
                        {{if _.has(method, 'request.body.parameter') && _.isArray(method.request.body.parameter) && method.request.body.parameter.length > 0}}
                        <table>
                            <thead>
                            <tr>
                                <th>参数名</th>
                                <th>参数值</th>
                                <th>是否必填</th>
                                <th>参数类型</th>
                                <th>描述说明</th>
                            </tr>
                            </thead>
                            <tbody>
                            {{each method.request.body.parameter item}}
                            <tr>
                                <td><i class="copy-clipboard"  data-clipboard-text="{{item.key}}">{{item.key}}</i></td>
                                <td style="position: relative;">
                                    {{if item.value_var}}
                                    {{item.value_var}}
                                    <img src="https://img.cdn.apipost.cn/v6/docs/img/vars.svg" alt="">
                                    <div class="vars_title">
                                        变量{{item.value}} 生成
                                    </div>
                                    {{else}}
                                    <pre>{{item.value}}</pre>
                                    {{/if}}
                                </td>
                                <td>{{(item.not_null >0) ? '是' : '否'}}</td>
                                <td>{{item.field_type}}</td>
                                <td>
                                    <pre>{{item.description}}</pre>
                                </td>
                            </tr>
                            {{/each}}
                            </tbody>
                        </table>
                        {{/if}}
                        {{/if}}
                        {{if _.has(method, 'response') && _.isObject(method.response) && !_.isEmpty(method.response)}}
                        {{each method.response response name}}
                        {{if response.raw != ''}}
                        <h6 data-text="{{name == 'success' ? '成功响应示例':'错误响应示例'}}" id="{{name == 'success' ? '成功响应示例':'错误响应示例'}}">{{name == 'success' ? '成功响应示例':'错误响应示例'}}</h6>
                        <div class="apipost-raw-json response-body-json-view">
                            <button type="button" class="copy-clipboard" data-clipboard-text="{{response.raw}}"><i class="fa fa-clipboard"></i>复制</button>
                            <input type="hidden" id="response-body-raw-editor-input-{{name}}" value='{{response.raw}}'>
                            <pre class="request-body-raw-editor-json" id="response-body-raw-editor-json-{{name}}"><code class="json">{{response.raw}}</code></pre>
                        </div>
                        {{if _.has(response, 'parameter') && _.isArray(response.parameter) && response.parameter.length > 0}}
                        <table>
                            <thead>
                            <tr>
                                <th>参数名</th>
                                <th>参数值</th>
                                <th>是否必填</th>
                                <th>参数类型</th>
                                <th>描述说明</th>
                            </tr>
                            </thead>
                            <tbody>
                            {{each response.parameter item}}
                            <tr>
                                <td><i class="copy-clipboard"  data-clipboard-text="{{item.key}}">{{item.key}}</i></td>
                                <td>
                                    <pre>{{item.value}}</pre>
                                </td>
                                <td>{{(item.not_null >0) ? '是' : '否'}}</td>
                                <td>{{item.field_type}}</td>
                                <td>
                                    <pre>{{item.description}}</pre>
                                </td>
                            </tr>
                            {{/each}}
                            </tbody>
                        </table>
                        {{/if}}
                        {{/if}}
                        {{/each}}
                        {{/if}}
                        <hr>
                        {{/each}}
                        {{/if}}
                        {{/each}}
                    </div>
                    {{/if}}
                    {{/each}}
                    {{/if}}
                    {{/if}}
                    {{if data.target_type == 'folder'}}
                    <h3 class="apipost-doc-wrap-para-title" data-text="目录参数" id="目录参数">
                        <i class="fa fa-wpforms"></i>
                        <span>目录参数</span>
                    </h3>
                    <div class="apipost-doc-paras" for-id="目录参数">
                        {{if _.has(data, 'request.header') && _.isArray(data.request.header) && data.request.header.length > 0}}
                        <h4 data-text="Header 请求参数" id="Header 请求参数">Header 请求参数</h4>
                        <table>
                            <thead>
                            <tr>
                                <th>参数名</th>
                                <th>参数值</th>
                                <th>是否必填</th>
                                <th>参数类型</th>
                                <th>描述说明</th>
                            </tr>
                            </thead>
                            <tbody>
                            {{each data.request.header item}}
                            <tr>
                                <td><i class="copy-clipboard"  data-clipboard-text="{{item.key}}">{{item.key}}</i></td>
                                <td style="position: relative;">
                                    {{if item.value_var}}
                                    {{item.value_var}}
                                    <img src="https://img.cdn.apipost.cn/v6/docs/img/vars.svg" alt="">
                                    <div class="vars_title">
                                        变量{{item.value}} 生成
                                    </div>
                                    {{else}}
                                    <pre>{{item.value}}</pre>
                                    {{/if}}
                                </td>
                                <td>{{(item.not_null >0) ? '是' : '否'}}</td>
                                <td>{{item.field_type}}</td>
                                <td>
                                    <pre>{{item.description}}</pre>
                                </td>
                            </tr>
                            {{/each}}
                            </tbody>
                        </table>
                        {{/if}}
                        {{if _.has(data, 'request.query') && _.isArray(data.request.query) && data.request.query.length > 0}}
                        <h4 data-text="Query 请求参数" id="Query 请求参数">Query 请求参数</h4>
                        <table>
                            <thead>
                            <tr>
                                <th>参数名</th>
                                <th>参数值</th>
                                <th>是否必填</th>
                                <th>参数类型</th>
                                <th>描述说明</th>
                            </tr>
                            </thead>
                            <tbody>
                            {{each data.request.query item}}
                            <tr>
                                <td><i class="copy-clipboard"  data-clipboard-text="{{item.key}}">{{item.key}}</i></td>
                                <td style="position: relative;">
                                    {{if item.value_var}}
                                    {{item.value_var}}
                                    <img src="https://img.cdn.apipost.cn/v6/docs/img/vars.svg" alt="">
                                    <div class="vars_title">
                                        变量{{item.value}} 生成
                                    </div>
                                    {{else}}
                                    <pre>{{item.value}}</pre>
                                    {{/if}}
                                </td>
                                <td>{{(item.not_null >0) ? '是' : '否'}}</td>
                                <td>{{item.field_type}}</td>
                                <td>
                                    <pre>{{item.description}}</pre>
                                </td>
                            </tr>
                            {{/each}}
                            </tbody>
                        </table>
                        {{/if}}
                        {{if _.has(data, 'request.body') && _.isArray(data.request.body) && data.request.body.length > 0}}
                        <h4 data-text="Body 请求参数" id="Body 请求参数">Body 请求参数</h4>
                        <table>
                            <thead>
                            <tr>
                                <th>参数名</th>
                                <th>参数值</th>
                                <th>是否必填</th>
                                <th>参数类型</th>
                                <th>描述说明</th>
                            </tr>
                            </thead>
                            <tbody>
                            {{each data.request.body item}}
                            <tr>
                                <td><i class="copy-clipboard"  data-clipboard-text="{{item.key}}">{{item.key}}</i></td>
                                <td style="position: relative;">
                                    {{if item.value_var}}
                                    {{item.value_var}}
                                    <img src="https://img.cdn.apipost.cn/v6/docs/img/vars.svg" alt="">
                                    <div class="vars_title">
                                        变量{{item.value}} 生成
                                    </div>
                                    {{else}}
                                    <pre>{{item.type == 'File' ? '[文件路径]':item.value}}</pre>
                                    {{/if}}
                                </td>
                                <td>{{(item.not_null >0) ? '是' : '否'}}</td>
                                <td>{{item.type == 'File' ? '[文件类型]':item.field_type}}</td>
                                <td>
                                    <pre>{{item.description}}</pre>
                                </td>
                            </tr>
                            {{/each}}
                            </tbody>
                        </table>
                        {{/if}}
                        {{if _.has(data, 'request.authType')}}
                        <h4 data-text="认证方式" id="认证方式">认证方式</h4>
                        <ul class="apipost-doc-wrap-base-para">
                            <li>{{data.request.authType}}</li>
                        </ul>
                        {{/if}}
                    </div>
                    {{/if}}
                    {{if data.target_type == 'global'}}
                    <div class="apipost-global-tips">
                        说明：全局公共参数是针对项目而言的，所有请求的 HTTP 类型的接口都需要携带此参数。
                    </div>
                    <h3 data-text="全局公共参数" id="全局公共参数" class="apipost-doc-wrap-para-title">
                        <i class="fa fa-wpforms"></i>
                        <span>全局公共参数</span>
                    </h3>
                    <div class="apipost-doc-paras" for-id="全局公共参数">
                        {{if _.has(data, 'request.header') && _.isArray(data.request.header) && data.request.header.length > 0}}
                        <h4 data-text="Header 请求参数" id="Header 请求参数" >Header 请求参数</h4>
                        <table>
                            <thead>
                            <tr>
                                <th>参数名</th>
                                <th>参数值</th>


                                <th>描述说明</th>
                            </tr>
                            </thead>
                            <tbody>
                            {{each data.request.header item}}
                            <tr>
                                <td><i class="copy-clipboard"  data-clipboard-text="{{item.key}}">{{item.key}}</i></td>
                                <td style="position: relative;">
                                    {{if item.value_var}}
                                    {{item.value_var}}
                                    <img src="https://img.cdn.apipost.cn/v6/docs/img/vars.svg" alt="">
                                    <div class="vars_title">
                                        变量{{item.value}} 生成
                                    </div>
                                    {{else}}
                                    <pre>{{item.value}}</pre>
                                    {{/if}}
                                </td>


                                <td>
                                    <pre>{{item.description}}</pre>
                                </td>
                            </tr>
                            {{/each}}
                            </tbody>
                        </table>
                        {{/if}}
                        {{if _.has(data, 'request.query') && _.isArray(data.request.query) && data.request.query.length > 0}}
                        <h4 data-text="Query 请求参数" id="Query 请求参数">Query 请求参数</h4>
                        <table>
                            <thead>
                            <tr>
                                <th>参数名</th>
                                <th>参数值</th>


                                <th>描述说明</th>
                            </tr>
                            </thead>
                            <tbody>
                            {{each data.request.query item}}
                            <tr>
                                <td><i class="copy-clipboard"  data-clipboard-text="{{item.key}}">{{item.key}}</i></td>
                                <td style="position: relative;">
                                    {{if item.value_var}}
                                    {{item.value_var}}
                                    <img src="https://img.cdn.apipost.cn/v6/docs/img/vars.svg" alt="">
                                    <div class="vars_title">
                                        变量{{item.value}} 生成
                                    </div>
                                    {{else}}
                                    <pre>{{item.value}}</pre>
                                    {{/if}}
                                </td>


                                <td>
                                    <pre>{{item.description}}</pre>
                                </td>
                            </tr>
                            {{/each}}
                            </tbody>
                        </table>
                        {{/if}}
                        {{if _.has(data, 'request.body') && _.isArray(data.request.body) && data.request.body.length > 0}}
                        <h4 data-text="Body 请求参数" id="Body 请求参数">Body 请求参数</h4>
                        <table>
                            <thead>
                            <tr>
                                <th>参数名</th>
                                <th>参数值</th>


                                <th>描述说明</th>
                            </tr>
                            </thead>
                            <tbody>
                            {{each data.request.body item}}
                            <tr>
                                <td><i class="copy-clipboard"  data-clipboard-text="{{item.key}}">{{item.key}}</i></td>
                                <td style="position: relative;">
                                    {{if item.value_var}}
                                    {{item.value_var}}
                                    <img src="https://img.cdn.apipost.cn/v6/docs/img/vars.svg" alt="">
                                    <div class="vars_title">
                                        变量{{item.value}} 生成
                                    </div>
                                    {{else}}
                                    <pre>{{item.type == 'File' ? '[文件路径]':item.value}}</pre>
                                    {{/if}}
                                </td>


                                <td>
                                    <pre>{{item.description}}</pre>
                                </td>
                            </tr>
                            {{/each}}
                            </tbody>
                        </table>
                        {{/if}}
                        {{if _.has(data, 'script.auth.type')}}
                        <h4 data-text="认证方式" id="认证方式">认证方式</h4>
                        <ul class="apipost-doc-wrap-base-para">
                            <li>{{data.script.auth.type}}</li>
                        </ul>
                        {{/if}}
                    </div>
                    {{/if}}
                    {{if data.target_type == 'websocket' || data.example_type == 'websocket'}}
                    <h3 data-text="基本信息" id="基本信息" class="apipost-doc-wrap-para-title">
                        <i class="fa fa-wpforms"></i>
                        <span>基本信息</span>
                    </h3>
                    <ul class="apipost-doc-wrap-base-para">
                        {{if _.has(data, 'formatMark') && _.isObject(data.formatMark)}}
                        <li><span>接口状态： </span><span style="color: {{data.formatMark.color}};">{{data.formatMark.name}}</span> </li>
                        {{/if}}
                        <li><span>接口URL： </span><span><em class="method {{data.method}}">{{data.method}}</em>
                                <i class="copy-clipboard"  data-clipboard-text="{{data.url}}">{{data.url}}</i></span> </li>
                    </ul>
                    {{/if}}
                    {{if data.target_type == 'api' || data.example_type == 'api'}}
                    <h3 data-text="基本信息" id="基本信息" class="apipost-doc-wrap-para-title">
                        <i class="fa fa-wpforms"></i>
                        <span>基本信息</span>
                    </h3>
                    <ul class="apipost-doc-wrap-base-para">
                        {{if _.has(data, 'formatMark') && _.isObject(data.formatMark)}}
                        <li><span>接口状态： </span><span style="color: {{data.formatMark.color}};">{{data.formatMark.name}}</span> </li>
                        {{/if}}
                        <li><span>接口URL： </span><span><em class="method {{data.method}}">{{data.method}}</em>
                                <i class="copy-clipboard"  data-clipboard-text="{{data.url}}">{{data.url}}</i></span> </li>
                        {{if data.mock_url != ''}}
                        <li><span>本地 Mock： </span><span><i class="copy-clipboard"  data-clipboard-text="{{urlJoin('http://127.0.0.1:10393/mock/',data.project_id, data.mock_url,'?apipost_id='+data.target_id.toString().substr(0,6))}}">{{urlJoin('http://127.0.0.1:10393/mock/',data.project_id, data.mock_url,'?apipost_id='+data.target_id.toString().substr(0,6))}}</i><br><a href="https://www.apipost.cn/download.html" target="_blank">需安装 Apipost v7 客户端</a> </span> </li>
                        {{if data.enable_server_mock > 0}}
                        <li><span>云端 Mock： </span><span><i class="copy-clipboard"  data-clipboard-text="{{urlJoin('https://console-mock.apipost.cn/mock/',data.project_id, data.mock_url,'?apipost_id='+data.target_id.toString().substr(0,6))}}">{{urlJoin('https://console-mock.apipost.cn/mock/',data.project_id, data.mock_url,'?apipost_id='+data.target_id.toString().substr(0,6))}}</i></span> </li>
                        {{/if}}
                        {{/if}}
                        {{if _.has(data, 'request.body.formatMode')}}
                        <li><span>Content-Type：</span><span><i class="copy-clipboard" data-clipboard-text="{{data.request.body.formatMode}}">{{data.request.body.formatMode}}</i></span></li>
                        {{/if}}
                        {{if _.has(data, 'request.authType')}}
                        <li><span>认证方式：</span><span><i class="copy-clipboard" data-clipboard-text="{{data.request.authType}}">{{data.request.authType}}</i></span></li>
                        {{/if}}
                    </ul>
                    <h3 data-text="请求参数" id="请求参数" class="apipost-doc-wrap-para-title">
                        <i class="fa fa-wpforms"></i>
                        <span>请求参数</span>
                    </h3>
                    <div class="apipost-doc-paras" for-id="请求参数">
                        {{if _.has(data, 'request.header.parameter') && _.isArray(data.request.header.parameter) && data.request.header.parameter.length > 0}}
                        <h4 data-text="Header 请求参数" id="Header 请求参数" >Header 请求参数</h4>
                        <table>
                            <thead>
                            <tr>
                                <th>参数名</th>
                                <th>参数值</th>
                                <th>是否必填</th>
                                <th>参数类型</th>
                                <th>描述说明</th>
                            </tr>
                            </thead>
                            <tbody>
                            {{each data.request.header.parameter item}}
                            <tr>
                                <td><i class="copy-clipboard"  data-clipboard-text="{{item.key}}">{{item.key}}</i></td>
                                <td style="position: relative;">
                                    {{if item.value_var}}
                                    {{item.value_var}}
                                    <img src="https://img.cdn.apipost.cn/v6/docs/img/vars.svg" alt="">
                                    <div class="vars_title">
                                        变量{{item.value}} 生成
                                    </div>
                                    {{else}}
                                    <pre>{{item.value}}</pre>
                                    {{/if}}
                                </td>
                                <td>{{(item.not_null >0) ? '是' : '否'}}</td>
                                <td>{{item.field_type}}</td>
                                <td>
                                    <pre>{{item.description}}</pre>
                                </td>
                            </tr>
                            {{/each}}
                            </tbody>
                        </table>
                        {{/if}}
                        {{if _.has(data, 'request.query.parameter') && _.isArray(data.request.query.parameter) && data.request.query.parameter.length > 0}}
                        <h4 data-text="Query 请求参数" id="Query 请求参数" >Query 请求参数</h4>
                        <table>
                            <thead>
                            <tr>
                                <th>参数名</th>
                                <th>参数值</th>
                                <th>是否必填</th>
                                <th>参数类型</th>
                                <th>描述说明</th>
                            </tr>
                            </thead>
                            <tbody>
                            {{each data.request.query.parameter item}}
                            <tr>
                                <td><i class="copy-clipboard"  data-clipboard-text="{{item.key}}">{{item.key}}</i></td>
                                <td style="position: relative;">
                                    {{if item.value_var}}
                                    {{item.value_var}}
                                    <img src="https://img.cdn.apipost.cn/v6/docs/img/vars.svg" alt="">
                                    <div class="vars_title">
                                        变量{{item.value}} 生成
                                    </div>
                                    {{else}}
                                    <pre>{{item.type == 'File' ? '[文件路径]':item.value}}</pre>
                                    {{/if}}
                                </td>
                                <td>{{(item.not_null >0) ? '是' : '否'}}</td>
                                <td>{{item.field_type}}</td>
                                <td>
                                    <pre>{{item.description}}</pre>
                                </td>
                            </tr>
                            {{/each}}
                            </tbody>
                        </table>
                        {{/if}}
                        {{if _.has(data, 'request.resful.parameter') && _.isArray(data.request.resful.parameter) && data.request.resful.parameter.length > 0}}
                        <h4 data-text="路径参数及说明" id="路径参数及说明" >路径参数及说明</h4>
                        <table>
                            <thead>
                            <tr>
                                <th>参数名</th>
                                <th>参数值</th>
                                <th>描述说明</th>
                            </tr>
                            </thead>
                            <tbody>
                            {{each data.request.resful.parameter item}}
                            <tr>
                                <td><i class="copy-clipboard"  data-clipboard-text="{{item.key}}">{{item.key}}</i></td>
                                <td style="position: relative;">
                                    {{if item.value_var}}
                                    {{item.value_var}}
                                    <img src="https://img.cdn.apipost.cn/v6/docs/img/vars.svg" alt="">
                                    <div class="vars_title">
                                        变量{{item.value}} 生成
                                    </div>
                                    {{else}}
                                    <pre>{{item.type == 'File' ? '[文件路径]':item.value}}</pre>
                                    {{/if}}
                                </td>
                                <td>
                                    <pre>{{item.description}}</pre>
                                </td>
                            </tr>
                            {{/each}}
                            </tbody>
                        </table>
                        {{/if}}
                        {{if _.has(data, 'request.body.mode') && data.request.body.mode != 'none'}}
                        <h4 data-text="Body 请求参数" id="Body 请求参数" >Body 请求参数</h4>
                        {{if data.request.body.mode == 'form-data' || data.request.body.mode == 'urlencoded'}}
                        {{if _.has(data, 'request.body.parameter') && _.isArray(data.request.body.parameter) && data.request.body.parameter.length > 0}}
                        <table>
                            <thead>
                            <tr>
                                <th>参数名</th>
                                <th>参数值</th>
                                <th>是否必填</th>
                                <th>参数类型</th>
                                <th>描述说明</th>
                            </tr>
                            </thead>
                            <tbody>
                            {{each data.request.body.parameter item}}
                            <tr>
                                <td><i class="copy-clipboard"  data-clipboard-text="{{item.key}}">{{item.key}}</i></td>
                                <td style="position: relative;">
                                    {{if item.value_var}}
                                    {{item.value_var}}
                                    <img src="https://img.cdn.apipost.cn/v6/docs/img/vars.svg" alt="">
                                    <div class="vars_title">
                                        变量{{item.value}} 生成
                                    </div>
                                    {{else}}
                                    <pre>{{item.type == 'File' ? '[文件路径]':item.value}}</pre>
                                    {{/if}}
                                </td>
                                <td>{{(item.not_null >0) ? '是' : '否'}}</td>
                                <td>{{item.type == 'File' ? '[文件类型]':item.field_type}}</td>
                                <td>
                                    <pre>{{item.description}}</pre>
                                </td>
                            </tr>
                            {{/each}}
                            </tbody>
                        </table>
                        {{/if}}
                        {{else}}
                        {{if data.request.body.raw != ''}}
                        <div class="apipost-raw-json request-body-json-view">
                            <button type="button" class="copy-clipboard" data-clipboard-text="{{data.request.body.raw}}"><i class="fa fa-clipboard"></i>复制</button>
                            <input type="hidden" id="request-body-raw-editor-input" value='{{data.request.body.raw}}'>
                            <pre id="request-body-raw-editor-json"><code class="json">{{data.request.body.raw}}</code></pre>
                        </div>
                        {{if _.has(data, 'request.body.raw_para') && _.isArray(data.request.body.raw_para) && data.request.body.raw_para.length > 0}}
                        <table>
                            <thead>
                            <tr>
                                <th>参数名</th>
                                <th>参数值</th>
                                <th>是否必填</th>
                                <th>参数类型</th>
                                <th>描述说明</th>
                            </tr>
                            </thead>
                            <tbody>
                            {{each data.request.body.raw_para item}}
                            {{if item.key != ''}}
                            <tr>
                                <td><i class="copy-clipboard"  data-clipboard-text="{{item.key}}">{{item.key}}</i></td>
                                <td style="position: relative;">
                                    {{if item.value_var}}
                                    {{item.value_var}}
                                    <img src="https://img.cdn.apipost.cn/v6/docs/img/vars.svg" alt="">
                                    <div class="vars_title">
                                        变量{{item.value}} 生成
                                    </div>
                                    {{else}}
                                    <pre>{{item.value}}</pre>
                                    {{/if}}
                                </td>
                                <td>{{(item.not_null >0) ? '是' : '否'}}</td>
                                <td>{{item.field_type}}</td>
                                <td>
                                    <pre>{{item.description}}</pre>
                                </td>
                            </tr>
                            {{/if}}
                            {{/each}}
                            </tbody>
                        </table>
                        {{/if}}
                        {{/if}}
                        {{/if}}
                        {{/if}}
                    </div>
                    {{if _.has(data, 'response') && _.isObject(data.response) && Object.values(data.response).length > 0}}
                    <h3 data-text="响应示例" id="响应示例" class="apipost-doc-wrap-para-title">
                        <i class="fa fa-wpforms"></i>
                        <span>响应示例</span>
                    </h3>
                    <div class="apipost-doc-paras" for-id="响应示例">
                        {{each data.response item key}}
                        {{if _.has(item, 'expect.name') && item.raw != ''}}
                        <h4 data-text="{{item.expect.name}}（{{item.expect.code}}）" id="{{item.expect.name}}（{{item.expect.code}}）">{{item.expect.name}}（{{item.expect.code}}）</h4>
                        <div data-type="{{key}}" class="apipost-raw-json response-raw-json-view">
                            <button type="button" class="copy-clipboard" data-clipboard-text="{{item.raw}}"><i class="fa fa-clipboard"></i>复制</button>
                            <input type="hidden" id="response-raw-{{key}}-json-input" value='{{item.raw}}'>
                            <pre id="response-raw-{{key}}-json"><code class="json">{{item.raw}}</code></pre>
                        </div>
                        {{if _.has(item, 'parameter') && _.isArray(item.parameter) && item.parameter.length > 0}}
                        <table>
                            <thead>
                            <tr>
                                <th>参数名</th>
                                <th>参数值</th>
                                <!-- <th>是否必填</th> -->
                                <th>参数类型</th>
                                <th>描述说明</th>
                            </tr>
                            </thead>
                            <tbody>
                            {{each item.parameter item}}
                            {{if item.key != ''}}
                            <tr>
                                <td><i class="copy-clipboard"  data-clipboard-text="{{item.key}}">{{item.key}}</i></td>
                                <td>
                                    <pre>{{item.value}}</pre>
                                </td>
                                <!-- <td>{{(item.not_null >0) ? '是' : '否'}}</td> -->
                                <td>{{item.field_type}}</td>
                                <td>
                                    <pre>{{@replaceOperatorSymbol(item.description)}}</pre>
                                </td>
                            </tr>
                            {{/if}}
                            {{/each}}
                            </tbody>
                        </table>
                        {{/if}}
                        {{/if}}
                        {{/each}}
                    </div>
                    {{/if}}
                    {{/if}}
                    <footer> 本文档由 <a href="https://www.apipost.cn/" target="_blank">Apipost 接口管理工具 （https://www.apipost.cn）</a>
                        生成 </footer>
                </script>
            </div>
            <div class="apipost-float-navs">
                <h2>内容导航</h2>
                <ul class="apipost-float-nav-template">
                    <script type="text/html" id="apipost-float-nav-template-tpl">
                        {{if list.length > 0}}
                        {{each list item i}}
                        <li style="text-indent: {{item.indent*16}}px;" {{if i == 0}}class="active"{{/if}} data-id="{{item.id}}"><a href="#{{item.id}}">{{item.text}}</a></li>
                        {{/each}}
                        {{else}}
                        <li style="text-align: center;justify-content: center;">暂无导航数据</li>
                        {{/if}}
                    </script>
                </ul>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
    // 给 arttemplate 注入新函数
    template.defaults.imports.JSON = JSON;
    template.defaults.imports.urlJoin = urlJoin;
    template.defaults.imports._ = _;
    template.defaults.imports.marked = function (md) {
        marked.setOptions({
            renderer: new marked.Renderer(),
            highlight(code) {
                return hljs.highlight('javascript', code).value;
            },
            breaks: true,
            sanitize: true,
        });
        return marked.parse(md).replace(/<pre>/g, "<pre class='hljs javascript'>");
    };
    template.defaults.imports.Object = Object;
    template.defaults.imports.keyFormat = function (params) {
        const arr = params.split('.');
        let str = '';
        for (let i = 0; i < arr.length - 1; i++) {
            str += `<span style="color:#999">${arr[i]}.</span>`;
        }
        str += arr[arr.length - 1];
        return str;
    };
    template.defaults.imports.replaceOperatorSymbol = function (originString) {
        if (!originString || originString=='') {
            return '';
        }
        const result = originString.replace(/&([^&;]+);/g, function (matchStr, b) {
            const entity = {
                quot: '"',
                lt: '<',
                gt: '>',
                apos: "'",
                amp: '&',
                ldquo: '“',
                rdquo: '”',
            };
            const r = entity[b];
            return typeof r === 'string' ? r : matchStr;
        });
        return result;
    };
    template.defaults.imports.markForName = function (key) {
        try {
            if (apipostData.project.vars.mark.filter((it) => it.key === key)[0].name) {
                return apipostData.project.vars.mark.filter((it) => it.key === key)[0].name;
            }
            return '开发中';
        } catch (error) {
            return '开发中';
        }
    };

    // 接口排序
    function sortData(data, type) {
        data.sort((a, b) => {
            // 升序
            if (type == 'ascending') {
                if (a.sort != b.sort) {
                    return a.sort - b.sort;
                }
                return a.name.localeCompare(b.name);
            }
            // 降序
            if (type == 'descending') {
                if (a.sort != b.sort) {
                    return b.sort - a.sort;
                }
                return b.name.localeCompare(a.name);
            }
        });

        // 如果有嵌套children且children里面有数据 就递归调用排序函数
        if (_.isArray(data)) {
            data.forEach((item) => {
                if (item.children && item.children.length != 0) {
                    sortData(item.children, type);
                }
            });

            return data;
        }
        return [];
    }

    // 解析 url 并返回数组
    function GetUrlQuery(uri) {
        let url = '';
        if (typeof uri === 'undefined') {
            url = window.location.search;
        } else {
            url = `?${uri.split('?')[1]}`;
        }
        const theRequest = {};
        if (url.indexOf('?') !== -1) {
            const str = url.substr(1);
            const strs = str.split('&');
            for (let i = 0; i < strs.length; i++) {
                theRequest[strs[i].split('=')[0]] = unescape(strs[i].split('=')[1]);
            }
        }
        return theRequest;
    }

    // 获取某接口的 所有父target
    function getParentTargetIDs(collection, target_id, parent_ids = []) {
        if (_.isArray(collection)) {
            const item = _.find(collection, _.matchesProperty('target_id', target_id));

            if (item) {
                parent_ids.push(item.parent_id);
                getParentTargetIDs(collection, item.parent_id, parent_ids);
            }
        }

        return parent_ids;
    }

    // 获取某接口的 所有子target
    function getChildrenTargetIDs(collection, target_id, children_ids = []) {
        if (_.isArray(collection)) {
            collection.forEach(item => {
                if (item.parent_id == target_id) {
                    children_ids.push(item.target_id);
                    getChildrenTargetIDs(collection, item.target_id, children_ids);
                }
            })
        }

        return children_ids;
    }

    // // 获取某接口的 所有子target
    // function getChildrenTargetIDs(collection, target_id, children_ids = []) {
    //     if (_.isArray(collection)) {
    //         collection.forEach(item => {
    //             if (item.target_id == target_id) {
    //                 if (item.children && _.isArray(item.children)) {
    //                     item.children.forEach((it) => {
    //                         children_ids.push(it.target_id);
    //                         if (it.children && _.isArray(it.children)) {
    //                             getChildrenTargetIDs(it.children, it.target_id, children_ids);
    //                         }
    //                     })
    //                 }
    //             }
    //         })
    //     }
    //     return children_ids;
    // }

    // 接口数据
    let apipostData = {};

    try {
        apipostData = {"data":{"id":1052152,"local_issue_id":"683d0b2419d2607b288040c083fb16f4","local_target_id":"4194c791-774d-4604-9568-2ed9deb01622","project_id":2995618,"name":"EasyPan","url":"eb06c2b023fec08c","salt":"637c25bea0ba82bb","password":"","env_id":"-1","create_time":1681005203,"target_id":-1,"target_type":"folder","expire_days":-1,"expire_time":-1,"attribute_list":[],"env_ids":["-1"],"portrait":"https:\/\/img.cdn.apipost.cn\/client\/user\/1364148\/avatar\/ee48b1b7ee067416d918769d49b833d964320f195bade.png","nick_name":"程序员老罗","app_web_url":"https:\/\/v7-api.apipost.cn","project_name":"Easy云盘接口文档","publisher":"程序员老罗","pub_name":"EasyPan","project_logo":"","project":{"vars":{"request":{"header":[],"query":[],"cookie":[],"body":[],"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""}}},"script":{"pre_script":"","switch_pre_script":true,"test":"","switch_test":true},"variable":[],"methods":["POST","GET","PUT","PATCH","DELETE","COPY","HEAD","OPTIONS","LINK","UNLINK","PURGE","LOCK","UNLOCK","PROPFIND","VIEW"],"mark":[{"key":"developing","name":"开发中","color":""},{"key":"complated","name":"已完成","color":""},{"key":"modifying","name":"需修改","color":""}]},"code_list":[],"attribute_list":[]},"attribute_lists":[],"children":[{"local_target_id":"4194c791-774d-4604-9568-2ed9deb01622","local_parent_id":"0","name":"EasyPan","method":"POST","mark":"developing","is_doc":0,"target_type":"folder","example_type":"0","project_id":2995618,"status":1,"sort":0,"create_dtime":1681002784,"update_dtime":1681007707,"local_server_id":"","target_id":"4194c791-774d-4604-9568-2ed9deb01622","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 09:13:04","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"script":{"pre_script":"","test":"","pre_script_switch":1,"test_switch":1},"request":{"description":"","header":[],"query":[],"body":[],"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""}}},"parent_id":"0","children":[{"local_target_id":"aeed1c56-9587-44fd-afc3-882529b34fb2","local_parent_id":"4194c791-774d-4604-9568-2ed9deb01622","name":"登录注册","method":"POST","mark":"developing","is_doc":0,"target_type":"folder","example_type":"0","project_id":2995618,"status":1,"sort":1,"create_dtime":1681002784,"update_dtime":1681002784,"local_server_id":"","target_id":"aeed1c56-9587-44fd-afc3-882529b34fb2","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 09:13:04","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"script":{"pre_script":"","test":"","pre_script_switch":1,"test_switch":1},"request":{"description":"","header":[],"query":[],"body":[],"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""}}},"parent_id":"4194c791-774d-4604-9568-2ed9deb01622","children":[{"local_target_id":"5f966235-72c6-4d24-aa59-f5f3b87d2df1","local_parent_id":"aeed1c56-9587-44fd-afc3-882529b34fb2","name":"获取验证码","method":"GET","mark":"complated","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":0,"create_dtime":1681002784,"update_dtime":1681195609,"local_server_id":"","target_id":"5f966235-72c6-4d24-aa59-f5f3b87d2df1","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 09:13:04","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/checkCode?type=0","description":"","body":{"mode":"none","parameter":[],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[{"description":"0:登录注册  1:邮箱验证码发送  默认0","is_checked":1,"key":"type","type":"Text","not_null":1,"field_type":"String","value":"0","value_var":"","key_var":""}]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/checkCode?type=0"},"response":{"success":{"raw":"","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"aeed1c56-9587-44fd-afc3-882529b34fb2"},{"local_target_id":"c5a39446-456e-49da-973b-d85919f9a7f4","local_parent_id":"aeed1c56-9587-44fd-afc3-882529b34fb2","name":"发送邮箱验证码","method":"POST","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":1,"create_dtime":1681003654,"update_dtime":1681195906,"local_server_id":"","target_id":"c5a39446-456e-49da-973b-d85919f9a7f4","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 09:27:34","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/sendEmailCode","description":"","body":{"mode":"form-data","parameter":[{"description":"邮箱","field_type":"String","is_checked":1,"key":"email","value":"laoluo_coder@qq.com","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"图片验证码","field_type":"String","is_checked":1,"key":"checkCode","value":"sqhfc","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"0:注册  1:找回密码","field_type":"String","is_checked":1,"key":"type","value":"0","not_null":1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/sendEmailCode"},"response":{"success":{"raw":"{\n\t\"status\": \"success\",\n\t\"code\": 200,\n\t\"info\": \"请求成功\",\n\t\"data\": null\n}","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":{"status":"success","code":200,"info":"请求成功","data":null,"type":"string"},"mock":"{\r\n\t\"status\": \"success\",\r\n\t\"code\": 200,\r\n\t\"info\": \"请求成功\",\r\n\t\"data\": null\r\n}"}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":{"type":"object"},"mock":""}}},"parent_id":"aeed1c56-9587-44fd-afc3-882529b34fb2"},{"local_target_id":"40e9f057-ed34-4c3f-8a10-e7783d884e7a","local_parent_id":"aeed1c56-9587-44fd-afc3-882529b34fb2","name":"注册","method":"POST","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":2,"create_dtime":1681003752,"update_dtime":1681195604,"local_server_id":"","target_id":"40e9f057-ed34-4c3f-8a10-e7783d884e7a","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 09:29:12","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/register","description":"","body":{"mode":"form-data","parameter":[{"description":"邮箱","field_type":"String","is_checked":1,"key":"email","value":"laoluo_coder@qq.com","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"昵称","field_type":"String","is_checked":1,"key":"nickName","value":"程序员老罗","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"密码 只能是数字，字母，特殊字符 8-18位","field_type":"String","is_checked":1,"key":"password","value":"test123456","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"图片验证码","field_type":"String","is_checked":1,"key":"checkCode","value":"ycmzz","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"邮箱验证码","field_type":"String","is_checked":1,"key":"emailCode","value":"41580","not_null":1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/register"},"response":{"success":{"raw":"{\r\n\t\"status\": \"success\",\r\n\t\"code\": 200,\r\n\t\"info\": \"请求成功\",\r\n\t\"data\": null\r\n}","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"aeed1c56-9587-44fd-afc3-882529b34fb2"},{"local_target_id":"83d33613-103d-4e6a-a54a-cf4a84f35728","local_parent_id":"aeed1c56-9587-44fd-afc3-882529b34fb2","name":"账号登录","method":"POST","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":3,"create_dtime":1681005581,"update_dtime":1681195767,"local_server_id":"","target_id":"83d33613-103d-4e6a-a54a-cf4a84f35728","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 09:59:41","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/login","description":"","body":{"mode":"form-data","parameter":[{"description":"邮箱","field_type":"String","is_checked":1,"key":"email","value":"laoluo_coder@qq.com","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"md5加密传输","field_type":"String","is_checked":1,"key":"password","value":"47ec2dd791e31e2ef2076caf64ed9b3d","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"图片验证码","field_type":"String","is_checked":1,"key":"checkCode","value":"p1rob","not_null":1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/login"},"response":{"success":{"raw":"{\r\n\t\"status\": \"success\",\r\n\t\"code\": 200,\r\n\t\"info\": \"请求成功\",\r\n\t\"data\": {\r\n\t\t\"nickName\": \"程序员老罗\",\r\n\t\t\"userId\": \"3178033358\",\r\n\t\t\"avatar\": null,\r\n\t\t\"admin\": false\r\n\t}\r\n}","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"aeed1c56-9587-44fd-afc3-882529b34fb2"},{"local_target_id":"99242715-c493-4f20-a1f3-5bbcd0c8af10","local_parent_id":"aeed1c56-9587-44fd-afc3-882529b34fb2","name":"重置密码","method":"POST","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":4,"create_dtime":1681005621,"update_dtime":1681195828,"local_server_id":"","target_id":"99242715-c493-4f20-a1f3-5bbcd0c8af10","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:00:21","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/resetPwd","description":"","body":{"mode":"form-data","parameter":[{"description":"邮箱","field_type":"String","is_checked":1,"key":"email","value":"laoluo_coder@qq.com","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"md5加密传输","field_type":"String","is_checked":1,"key":"password","value":"test1234561","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"图片验证码","field_type":"String","is_checked":1,"key":"checkCode","value":"12333","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"","field_type":"String","is_checked":1,"key":"emailCode","value":"22233","not_null":1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/resetPwd"},"response":{"success":{"raw":"{\r\n\t\"status\": \"success\",\r\n\t\"code\": 200,\r\n\t\"info\": \"请求成功\",\r\n\t\"data\": null\r\n}","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"aeed1c56-9587-44fd-afc3-882529b34fb2"},{"local_target_id":"fff1206c-10ad-4a34-a4ba-ba48de6605a7","local_parent_id":"aeed1c56-9587-44fd-afc3-882529b34fb2","name":"获取用户头像","method":"GET","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":5,"create_dtime":1681005642,"update_dtime":1681195963,"local_server_id":"","target_id":"fff1206c-10ad-4a34-a4ba-ba48de6605a7","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:00:42","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/getAvatar\/{userId}","description":"","body":{"mode":"none","parameter":[],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/getAvatar\/{userId}"},"response":{"success":{"raw":"","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"aeed1c56-9587-44fd-afc3-882529b34fb2"},{"local_target_id":"153e3e41-1c2d-49f1-8abe-b6f2b5abc2e6","local_parent_id":"aeed1c56-9587-44fd-afc3-882529b34fb2","name":"获取用户空间","method":"GET","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":7,"create_dtime":1681005785,"update_dtime":1681196012,"local_server_id":"","target_id":"153e3e41-1c2d-49f1-8abe-b6f2b5abc2e6","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:03:05","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/getUseSpace","description":"","body":{"mode":"none","parameter":[],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/getUseSpace"},"response":{"success":{"raw":"{\r\n\t\"status\": \"success\",\r\n\t\"code\": 200,\r\n\t\"info\": \"请求成功\",\r\n\t\"data\": {\r\n\t\t\"useSpace\": 0,\r\n\t\t\"totalSpace\": 5242880\r\n\t}\r\n}","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"aeed1c56-9587-44fd-afc3-882529b34fb2"},{"local_target_id":"bbd9f71a-2bfb-43ca-91df-a684d3797c06","local_parent_id":"aeed1c56-9587-44fd-afc3-882529b34fb2","name":"退出","method":"GET","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":8,"create_dtime":1681005889,"update_dtime":1681196028,"local_server_id":"","target_id":"bbd9f71a-2bfb-43ca-91df-a684d3797c06","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:04:49","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/logout","description":"","body":{"mode":"none","parameter":[],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/logout"},"response":{"success":{"raw":"{\r\n\t\"status\": \"success\",\r\n\t\"code\": 200,\r\n\t\"info\": \"请求成功\",\r\n\t\"data\": null\r\n}","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"aeed1c56-9587-44fd-afc3-882529b34fb2"},{"local_target_id":"88af0368-0843-4b06-8d37-793141ce6468","local_parent_id":"aeed1c56-9587-44fd-afc3-882529b34fb2","name":"更新用户头像","method":"POST","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":9,"create_dtime":1681005921,"update_dtime":1681261731,"local_server_id":"","target_id":"88af0368-0843-4b06-8d37-793141ce6468","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:05:21","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/updateUserAvatar","description":"","body":{"mode":"form-data","parameter":[{"description":"头像","field_type":"String","is_checked":1,"key":"avatar","value":"","not_null":1,"type":"File","filename":"","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/updateUserAvatar"},"response":{"success":{"raw":"{\r\n\t\"status\": \"success\",\r\n\t\"code\": 200,\r\n\t\"info\": \"请求成功\",\r\n\t\"data\": null\r\n}","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"aeed1c56-9587-44fd-afc3-882529b34fb2"},{"local_target_id":"310c2be3-6d84-41a5-81e2-2b4ab144f7af","local_parent_id":"aeed1c56-9587-44fd-afc3-882529b34fb2","name":"修改密码","method":"POST","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":10,"create_dtime":1681005949,"update_dtime":1681261734,"local_server_id":"","target_id":"310c2be3-6d84-41a5-81e2-2b4ab144f7af","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:05:49","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/updatePassword","description":"","body":{"mode":"form-data","parameter":[{"description":"密码 只能是数字，字母，特殊字符 8-18位","field_type":"String","is_checked":1,"key":"password","value":"test123456","not_null":1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/updatePassword"},"response":{"success":{"raw":"{\r\n\t\"status\": \"success\",\r\n\t\"code\": 200,\r\n\t\"info\": \"请求成功\",\r\n\t\"data\": null\r\n}","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"aeed1c56-9587-44fd-afc3-882529b34fb2"},{"local_target_id":"e4db0e79-20b7-435c-9d32-d63bc6e93692","local_parent_id":"aeed1c56-9587-44fd-afc3-882529b34fb2","name":"QQ登录","method":"POST","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":11,"create_dtime":1681005973,"update_dtime":1681261804,"local_server_id":"","target_id":"e4db0e79-20b7-435c-9d32-d63bc6e93692","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:06:13","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/qqlogin","description":"","body":{"mode":"form-data","parameter":[{"description":"登录成功后回调地址","field_type":"String","is_checked":1,"key":"callbackUrl","value":"\/index","not_null":-1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/qqlogin"},"response":{"success":{"raw":"{\r\n\t\"status\": \"success\",\r\n\t\"code\": 200,\r\n\t\"info\": \"请求成功\",\r\n\t\"data\": \"https:\/\/graph.qq.com\/oauth2.0\/authorize?response_type=code&client_id=xxxs&redirect_uri=xxxx&state=xxxxxxx\"\r\n}","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"aeed1c56-9587-44fd-afc3-882529b34fb2"},{"local_target_id":"475da768-39c4-423a-b647-4a1153e7b9d8","local_parent_id":"aeed1c56-9587-44fd-afc3-882529b34fb2","name":"QQ登录回调","method":"POST","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":12,"create_dtime":1681005995,"update_dtime":1681261858,"local_server_id":"","target_id":"475da768-39c4-423a-b647-4a1153e7b9d8","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:06:35","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/qqlogin\/callback","description":"","body":{"mode":"form-data","parameter":[{"description":"qq官方回调的code","field_type":"String","is_checked":1,"key":"code","value":"","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"获取登录信息后端传入的状态码","field_type":"String","is_checked":1,"key":"state","value":"","not_null":1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/qqlogin\/callback"},"response":{"success":{"raw":"{\n\t\"status\": \"success\",\n\t\"code\": 200,\n\t\"info\": \"请求成功\",\n\t\"data\": {\n\t\t\"callbackUrl\": \"xxxx\",\n\t\t\"userInfo\": {\n\t\t\t\"nickName\": \"程序员老罗\",\n\t\t\t\"userId\": \"3178033358\",\n\t\t\t\"avatar\": null,\n\t\t\t\"admin\": false\n\t\t}\n\t}\n}","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"aeed1c56-9587-44fd-afc3-882529b34fb2"}]},{"local_target_id":"8b15f5d2-a1ec-4b03-98c7-fd17102d918f","local_parent_id":"4194c791-774d-4604-9568-2ed9deb01622","name":"首页","method":"POST","mark":"developing","is_doc":0,"target_type":"folder","example_type":"0","project_id":2995618,"status":1,"sort":2,"create_dtime":1681006098,"update_dtime":1681006839,"local_server_id":"","target_id":"8b15f5d2-a1ec-4b03-98c7-fd17102d918f","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:08:18","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"script":{"pre_script":"","test":"","pre_script_switch":1,"test_switch":1},"request":{"description":"","header":[],"query":[],"body":[],"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""}}},"parent_id":"4194c791-774d-4604-9568-2ed9deb01622","children":[{"local_target_id":"8b7c7ed7-219c-4a06-b4f7-563b1057af34","local_parent_id":"8b15f5d2-a1ec-4b03-98c7-fd17102d918f","name":"文件列表","method":"POST","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":0,"create_dtime":1681006159,"update_dtime":1681290336,"local_server_id":"","target_id":"8b7c7ed7-219c-4a06-b4f7-563b1057af34","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:09:19","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/file\/loadDataList","description":"","body":{"mode":"form-data","parameter":[{"description":"分类","field_type":"String","is_checked":1,"key":"category","value":"all","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"文件父id","field_type":"String","is_checked":1,"key":"filePid","value":"0","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"文件名","field_type":"String","is_checked":1,"key":"fileNameFuzzy","value":"资料","not_null":-1,"type":"Text","value_var":"","key_var":""},{"description":"页码","field_type":"String","is_checked":1,"key":"pageNo","value":"1","not_null":-1,"type":"Text","value_var":"","key_var":""},{"description":"分页大小","field_type":"String","is_checked":1,"key":"pageSize","value":"15","not_null":-1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/file\/loadDataList"},"response":{"success":{"raw":"{\r\n\t\"status\": \"success\",\r\n\t\"code\": 200,\r\n\t\"info\": \"请求成功\",\r\n\t\"data\": {\r\n\t\t\"totalCount\": 1,\r\n\t\t\"pageSize\": 15,\r\n\t\t\"pageNo\": 1,\r\n\t\t\"pageTotal\": 1,\r\n\t\t\"list\": [\r\n\t\t\t{\r\n\t\t\t\t\"fileId\": \"FBXdDvhLHg\",\/\/文件ID\r\n\t\t\t\t\"filePid\": \"0\",\/\/父文件ID\r\n\t\t\t\t\"fileSize\": 15175,\/\/文件大小\r\n\t\t\t\t\"fileName\": \"xx2.jpg\",\/\/文件名\r\n\t\t\t\t\"fileCover\": \"202304\/102522FBXdDvhLHg_.jpg\",\/\/封面\r\n\t\t\t\t\"createTime\": \"2023-04-12 09:11:41\",\/\/创建时间\r\n\t\t\t\t\"lastUpdateTime\": \"2023-04-12 09:11:41\",\/\/最后更新时间\r\n\t\t\t\t\"folderType\": 0,\/\/文件目录类型 0:文件 1目录\r\n\t\t\t\t\"fileCategory\": 3,\/\/分类\r\n\t\t\t\t\"fileType\": 3,\/\/文件类型\r\n\t\t\t\t\"status\": 2\/\/状态\r\n\t\t\t}\r\n\t\t]\r\n\t}\r\n}","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"8b15f5d2-a1ec-4b03-98c7-fd17102d918f"},{"local_target_id":"e984a945-46c7-4b5a-8b1c-9e0d1202fcfa","local_parent_id":"8b15f5d2-a1ec-4b03-98c7-fd17102d918f","name":"文件分片上传","method":"POST","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":1,"create_dtime":1681006270,"update_dtime":1681290333,"local_server_id":"","target_id":"e984a945-46c7-4b5a-8b1c-9e0d1202fcfa","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:11:10","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/file\/uploadFile","description":"","body":{"mode":"form-data","parameter":[{"description":"文件ID","field_type":"String","is_checked":1,"key":"fileId","value":"","not_null":-1,"type":"Text","value_var":"","key_var":""},{"description":"文件流","field_type":"String","is_checked":1,"key":"file","value":"","not_null":1,"type":"File","filename":"","value_var":"","key_var":""},{"description":"文件名","field_type":"String","is_checked":1,"key":"fileName","value":"","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"文件父id","field_type":"String","is_checked":1,"key":"filePid","value":"","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"文件MD5值","field_type":"String","is_checked":1,"key":"fileMd5","value":"","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"当前分片索引","field_type":"String","is_checked":1,"key":"chunkIndex","value":"","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"总分片数","field_type":"String","is_checked":1,"key":"chunks","value":"","not_null":1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/file\/uploadFile"},"response":{"success":{"raw":"{\r\n\t\"status\": \"success\",\r\n\t\"code\": 200,\r\n\t\"info\": \"请求成功\",\r\n\t\"data\": {\r\n            \"fileId\":\"文件ID\",\r\n            \"status\":\"当前文件上传状态\"\r\n    }\r\n}","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"8b15f5d2-a1ec-4b03-98c7-fd17102d918f"},{"local_target_id":"8a04ebde-c4d4-46c3-a830-428674e6b21d","local_parent_id":"8b15f5d2-a1ec-4b03-98c7-fd17102d918f","name":"显示封面","method":"GET","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":2,"create_dtime":1681006377,"update_dtime":1681290311,"local_server_id":"","target_id":"8a04ebde-c4d4-46c3-a830-428674e6b21d","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:12:57","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/file\/getImage\/{imageFolder}\/{imageName}","description":"","body":{"mode":"none","parameter":[],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/file\/getImage\/{imageFolder}\/{imageName}"},"response":{"success":{"raw":"","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"8b15f5d2-a1ec-4b03-98c7-fd17102d918f"},{"local_target_id":"f6372dd5-6217-4eb2-b303-8b1834cbf9ed","local_parent_id":"8b15f5d2-a1ec-4b03-98c7-fd17102d918f","name":"获取文件信息","method":"GET","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":3,"create_dtime":1681006411,"update_dtime":1681290292,"local_server_id":"","target_id":"f6372dd5-6217-4eb2-b303-8b1834cbf9ed","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:13:31","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/file\/getFile\/{fileId}","description":"","body":{"mode":"none","parameter":[],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/file\/getFile\/{fileId}"},"response":{"success":{"raw":"","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"8b15f5d2-a1ec-4b03-98c7-fd17102d918f"},{"local_target_id":"e44214ad-1dc5-41c7-a35e-5ce26c27f922","local_parent_id":"8b15f5d2-a1ec-4b03-98c7-fd17102d918f","name":"新建目录","method":"POST","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":4,"create_dtime":1681006318,"update_dtime":1681290328,"local_server_id":"","target_id":"e44214ad-1dc5-41c7-a35e-5ce26c27f922","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:11:58","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/file\/newFoloder","description":"","body":{"mode":"form-data","parameter":[{"description":"文件父id","field_type":"String","is_checked":1,"key":"filePid","value":"","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"目录名","field_type":"String","is_checked":1,"key":"fileName","value":"","not_null":1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/file\/newFoloder"},"response":{"success":{"raw":"{\r\n\t\"status\": \"success\",\r\n\t\"code\": 200,\r\n\t\"info\": \"请求成功\",\r\n\t\"data\": null\r\n}","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"8b15f5d2-a1ec-4b03-98c7-fd17102d918f"},{"local_target_id":"d6a057df-bfb2-4688-8009-fa2f1a8d5d86","local_parent_id":"8b15f5d2-a1ec-4b03-98c7-fd17102d918f","name":"获取当前目录","method":"POST","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":5,"create_dtime":1681006347,"update_dtime":1681382769,"local_server_id":"","target_id":"d6a057df-bfb2-4688-8009-fa2f1a8d5d86","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:12:27","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/file\/getFolderInfo","description":"","body":{"mode":"form-data","parameter":[{"description":"完整路径","field_type":"String","is_checked":1,"key":"path","value":"o4rnme9FB3\/lYf7edaqUi","not_null":1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/file\/getFolderInfo"},"response":{"success":{"raw":"{\r\n\t\"status\": \"success\",\r\n\t\"code\": 200,\r\n\t\"info\": \"请求成功\",\r\n\t\"data\": [\r\n\t\t{\r\n\t\t\t\"fileName\": \"22222\",\r\n\t\t\t\"fileId\": \"o4rnme9FB3\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"fileName\": \"23232323\",\r\n\t\t\t\"fileId\": \"lYf7edaqUi\"\r\n\t\t}\r\n\t]\r\n}","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"8b15f5d2-a1ec-4b03-98c7-fd17102d918f"},{"local_target_id":"9d0ad60c-aaf1-492b-839e-46b28fb08a53","local_parent_id":"8b15f5d2-a1ec-4b03-98c7-fd17102d918f","name":"文件重命名","method":"POST","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":6,"create_dtime":1681006300,"update_dtime":1681290330,"local_server_id":"","target_id":"9d0ad60c-aaf1-492b-839e-46b28fb08a53","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:11:40","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/file\/rename","description":"","body":{"mode":"form-data","parameter":[{"description":"文件ID","field_type":"String","is_checked":1,"key":"fileId","value":"111","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"文件名","field_type":"String","is_checked":1,"key":"fileName","value":"文件名","not_null":1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/file\/rename"},"response":{"success":{"raw":"{\r\n\t\"status\": \"success\",\r\n\t\"code\": 200,\r\n\t\"info\": \"请求成功\",\r\n\t\"data\": null\r\n}","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"8b15f5d2-a1ec-4b03-98c7-fd17102d918f"},{"local_target_id":"aaff42c1-7b41-4f6a-8ebc-4e8080d1024e","local_parent_id":"8b15f5d2-a1ec-4b03-98c7-fd17102d918f","name":"获取所有目录","method":"POST","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":7,"create_dtime":1681006447,"update_dtime":1685022981,"local_server_id":"","target_id":"aaff42c1-7b41-4f6a-8ebc-4e8080d1024e","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:14:07","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/file\/loadAllFolder","description":"","body":{"mode":"form-data","parameter":[{"description":"文件父id","field_type":"String","is_checked":1,"key":"filePid","value":"0","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"当前目录PID","field_type":"String","is_checked":1,"key":"currentFileIds","value":"","not_null":-1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/file\/loadAllFolder"},"response":{"success":{"raw":"{\r\n\t\"status\": \"success\",\r\n\t\"code\": 200,\r\n\t\"info\": \"请求成功\",\r\n\t\"data\": [\r\n\t\t{\r\n\t\t\t\"fileId\": \"o4rnme9FB3\",\r\n\t\t\t\"filePid\": \"0\",\r\n\t\t\t\"fileSize\": null,\r\n\t\t\t\"fileName\": \"22222\",\r\n\t\t\t\"fileCover\": null,\r\n\t\t\t\"lastUpdateTime\": \"2023-04-12 17:09:36\",\r\n\t\t\t\"folderType\": 1,\r\n\t\t\t\"fileCategory\": null,\r\n\t\t\t\"fileType\": null,\r\n\t\t\t\"status\": 2\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"fileId\": \"FPeMB7KxVf\",\r\n\t\t\t\"filePid\": \"0\",\r\n\t\t\t\"fileSize\": null,\r\n\t\t\t\"fileName\": \"yrdy\",\r\n\t\t\t\"fileCover\": null,\r\n\t\t\t\"lastUpdateTime\": \"2023-04-12 17:08:38\",\r\n\t\t\t\"folderType\": 1,\r\n\t\t\t\"fileCategory\": null,\r\n\t\t\t\"fileType\": null,\r\n\t\t\t\"status\": 2\r\n\t\t}\r\n\t]\r\n}","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"8b15f5d2-a1ec-4b03-98c7-fd17102d918f"},{"local_target_id":"f3a981c9-0cbc-44d0-b8a3-4be13282cf63","local_parent_id":"8b15f5d2-a1ec-4b03-98c7-fd17102d918f","name":"修改文件目录、移动文件","method":"POST","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":8,"create_dtime":1681006479,"update_dtime":1681382769,"local_server_id":"","target_id":"f3a981c9-0cbc-44d0-b8a3-4be13282cf63","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:14:39","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/file\/changeFileFolder","description":"","body":{"mode":"form-data","parameter":[{"description":"所选文件ID","field_type":"String","is_checked":1,"key":"fileIds","value":"111,1111","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"文件父id","field_type":"String","is_checked":1,"key":"filePid","value":"0","not_null":1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/file\/changeFileFolder"},"response":{"success":{"raw":"{\r\n\t\"status\": \"success\",\r\n\t\"code\": 200,\r\n\t\"info\": \"请求成功\",\r\n\t\"data\": null\r\n}","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"8b15f5d2-a1ec-4b03-98c7-fd17102d918f"},{"local_target_id":"6539d4d1-6f0d-4946-b182-2c130847932e","local_parent_id":"8b15f5d2-a1ec-4b03-98c7-fd17102d918f","name":"创建下载链接","method":"GET","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":9,"create_dtime":1681006515,"update_dtime":1683428098,"local_server_id":"","target_id":"6539d4d1-6f0d-4946-b182-2c130847932e","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:15:15","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/file\/createDownloadUrl\/{fileId}","description":"","body":{"mode":"form-data","parameter":[],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[{"key":"fileId","description":"","is_checked":1,"type":"Text","not_null":1,"field_type":"String","value":"","value_var":"","key_var":""}]},"origin_url":"http:\/\/localhost:7090\/api\/file\/createDownloadUrl\/{fileId}"},"response":{"success":{"raw":"{\r\n\t\"status\": \"success\",\r\n\t\"code\": 200,\r\n\t\"info\": \"请求成功\",\r\n\t\"data\": \"UEr0bAmOoi0NLui6CvRaBFtn3SLyvIf02g4XqnyVK8G5iDxZ0i\"\r\n}","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"8b15f5d2-a1ec-4b03-98c7-fd17102d918f"},{"local_target_id":"09bfd019-cec1-480b-9f78-dd0b0de5fa3a","local_parent_id":"8b15f5d2-a1ec-4b03-98c7-fd17102d918f","name":"下载文件","method":"GET","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":10,"create_dtime":1681006542,"update_dtime":1683428101,"local_server_id":"","target_id":"09bfd019-cec1-480b-9f78-dd0b0de5fa3a","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:15:42","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/file\/download\/{code}","description":"","body":{"mode":"form-data","parameter":[],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[{"key":"code","description":"","is_checked":1,"type":"Text","not_null":1,"field_type":"String","value":"","value_var":"","key_var":""}]},"origin_url":"http:\/\/localhost:7090\/api\/file\/download\/{code}"},"response":{"success":{"raw":"","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"8b15f5d2-a1ec-4b03-98c7-fd17102d918f"},{"local_target_id":"0f0744a0-709d-42ab-a80c-133a01872aa3","local_parent_id":"8b15f5d2-a1ec-4b03-98c7-fd17102d918f","name":"删除文件","method":"POST","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":11,"create_dtime":1681006574,"update_dtime":1681291136,"local_server_id":"","target_id":"0f0744a0-709d-42ab-a80c-133a01872aa3","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:16:14","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/file\/delFile","description":"","body":{"mode":"form-data","parameter":[{"description":"需要删除的文件ID","field_type":"String","is_checked":1,"key":"fileIds","value":"FBXdDvhLHg,vWVCc9FxVf","not_null":1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/file\/delFile"},"response":{"success":{"raw":"{\r\n\t\"status\": \"success\",\r\n\t\"code\": 200,\r\n\t\"info\": \"请求成功\",\r\n\t\"data\": null\r\n}","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"8b15f5d2-a1ec-4b03-98c7-fd17102d918f"}]},{"local_target_id":"34e680d6-3b2d-4a38-9fc2-704dc04035c1","local_parent_id":"4194c791-774d-4604-9568-2ed9deb01622","name":"分享","method":"POST","mark":"developing","is_doc":0,"target_type":"folder","example_type":"0","project_id":2995618,"status":1,"sort":3,"create_dtime":1681006641,"update_dtime":1681007708,"local_server_id":"","target_id":"34e680d6-3b2d-4a38-9fc2-704dc04035c1","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:17:21","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"script":{"pre_script":"","test":"","pre_script_switch":1,"test_switch":1},"request":{"description":"","header":[],"query":[],"body":[],"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""}}},"parent_id":"4194c791-774d-4604-9568-2ed9deb01622","children":[{"local_target_id":"f8c87e3b-a5fc-4be8-917f-9ac1142f1409","local_parent_id":"34e680d6-3b2d-4a38-9fc2-704dc04035c1","name":"获取分享文件列表","method":"POST","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":0,"create_dtime":1681006698,"update_dtime":1681293228,"local_server_id":"","target_id":"f8c87e3b-a5fc-4be8-917f-9ac1142f1409","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:18:18","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/share\/loadShareList","description":"","body":{"mode":"form-data","parameter":[{"description":"页码","field_type":"String","is_checked":1,"key":"pageNo","value":"","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"分页大小","field_type":"String","is_checked":1,"key":"pageSize","value":"","not_null":1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/share\/loadShareList"},"response":{"success":{"raw":"{\r\n\t\"status\": \"success\",\r\n\t\"code\": 200,\r\n\t\"info\": \"请求成功\",\r\n\t\"data\": {\r\n\t\t\"totalCount\": 1,\r\n\t\t\"pageSize\": 15,\r\n\t\t\"pageNo\": 1,\r\n\t\t\"pageTotal\": 1,\r\n\t\t\"list\": [\r\n\t\t\t{\r\n\t\t\t\t\"shareId\": \"oiaWphfrb972hmtvC7B8\",\r\n\t\t\t\t\"fileId\": \"FBXdDvhLHg\",\r\n\t\t\t\t\"userId\": \"102522\",\r\n\t\t\t\t\"validType\": 0,\r\n\t\t\t\t\"expireTime\": \"2023-04-13 17:49:16\",\r\n\t\t\t\t\"shareTime\": \"2023-04-12 17:49:16\",\r\n\t\t\t\t\"code\": \"BAqxk\",\r\n\t\t\t\t\"showCount\": 0,\r\n\t\t\t\t\"fileName\": \"xx212222.jpg\",\r\n\t\t\t\t\"folderType\": 0,\r\n\t\t\t\t\"fileCategory\": 3,\r\n\t\t\t\t\"fileType\": 3,\r\n\t\t\t\t\"fileCover\": \"202304\/102522FBXdDvhLHg_.jpg\"\r\n\t\t\t}\r\n\t\t]\r\n\t}\r\n}","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"34e680d6-3b2d-4a38-9fc2-704dc04035c1"},{"local_target_id":"eb032a97-a3cb-4b37-b45f-7b8e7e7136da","local_parent_id":"34e680d6-3b2d-4a38-9fc2-704dc04035c1","name":"分享文件","method":"POST","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":1,"create_dtime":1681006653,"update_dtime":1681382769,"local_server_id":"","target_id":"eb032a97-a3cb-4b37-b45f-7b8e7e7136da","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:17:33","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/share\/shareFile","description":"","body":{"mode":"form-data","parameter":[{"description":"文件ID","field_type":"String","is_checked":1,"key":"fileId","value":"FBXdDvhLHg","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"分享失效类型","field_type":"String","is_checked":1,"key":"validType","value":"0","not_null":1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/share\/shareFile"},"response":{"success":{"raw":"{\r\n\t\"status\": \"success\",\r\n\t\"code\": 200,\r\n\t\"info\": \"请求成功\",\r\n\t\"data\": {\r\n\t\t\"shareId\": \"oiaWphfrb972hmtvC7B8\",\r\n\t\t\"fileId\": \"FBXdDvhLHg\",\r\n\t\t\"userId\": \"102522\",\r\n\t\t\"validType\": 0,\r\n\t\t\"expireTime\": \"2023-04-13 17:49:15\",\r\n\t\t\"shareTime\": \"2023-04-12 17:49:15\",\r\n\t\t\"code\": \"BAqxk\",\r\n\t\t\"showCount\": null,\r\n\t\t\"fileName\": null,\r\n\t\t\"folderType\": null,\r\n\t\t\"fileCategory\": null,\r\n\t\t\"fileType\": null,\r\n\t\t\"fileCover\": null\r\n\t}\r\n}","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"34e680d6-3b2d-4a38-9fc2-704dc04035c1"},{"local_target_id":"0427a62a-04a7-4434-b2e5-dfb1ee0f80e7","local_parent_id":"34e680d6-3b2d-4a38-9fc2-704dc04035c1","name":"取消分享","method":"POST","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":2,"create_dtime":1681006715,"update_dtime":1681293132,"local_server_id":"","target_id":"0427a62a-04a7-4434-b2e5-dfb1ee0f80e7","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:18:35","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/share\/cancelShare","description":"","body":{"mode":"form-data","parameter":[{"description":"取消分享的ID,多个逗号隔开","field_type":"String","is_checked":1,"key":"shareIds","value":"oiaWphfrb972hmtvC7B8","not_null":1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/share\/cancelShare"},"response":{"success":{"raw":"{\r\n\t\"status\": \"success\",\r\n\t\"code\": 200,\r\n\t\"info\": \"请求成功\",\r\n\t\"data\": null\r\n}","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"34e680d6-3b2d-4a38-9fc2-704dc04035c1"}]},{"local_target_id":"9080f843-30bc-4d99-b976-b3cfc7e35abd","local_parent_id":"4194c791-774d-4604-9568-2ed9deb01622","name":"回收站","method":"POST","mark":"developing","is_doc":0,"target_type":"folder","example_type":"0","project_id":2995618,"status":1,"sort":4,"create_dtime":1681006745,"update_dtime":1681006745,"local_server_id":"","target_id":"9080f843-30bc-4d99-b976-b3cfc7e35abd","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:19:05","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"script":{"pre_script":"","test":"","pre_script_switch":1,"test_switch":1},"request":{"description":"","header":[],"query":[],"body":[],"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""}}},"parent_id":"4194c791-774d-4604-9568-2ed9deb01622","children":[{"local_target_id":"fa7e4dfc-ed6e-4c48-947b-90c2704e6be8","local_parent_id":"9080f843-30bc-4d99-b976-b3cfc7e35abd","name":"获取回收站文件列表","method":"POST","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":1,"create_dtime":1681006750,"update_dtime":1681382770,"local_server_id":"","target_id":"fa7e4dfc-ed6e-4c48-947b-90c2704e6be8","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:19:10","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/recycle\/loadRecycleList","description":"","body":{"mode":"form-data","parameter":[{"description":"页码","field_type":"String","is_checked":1,"key":"pageNo","value":"","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"分页大小","field_type":"String","is_checked":1,"key":"pageSize","value":"","not_null":1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/recycle\/loadRecycleList"},"response":{"success":{"raw":"{\r\n\t\"status\": \"success\",\r\n\t\"code\": 200,\r\n\t\"info\": \"请求成功\",\r\n\t\"data\": {\r\n\t\t\"totalCount\": 2,\r\n\t\t\"pageSize\": 15,\r\n\t\t\"pageNo\": 1,\r\n\t\t\"pageTotal\": 1,\r\n\t\t\"list\": [\r\n\t\t\t{\r\n\t\t\t\t\"fileId\": \"FBXdDvhLHg\",\r\n\t\t\t\t\"filePid\": \"0\",\r\n\t\t\t\t\"fileSize\": 15175,\r\n\t\t\t\t\"fileName\": \"xx212222.jpg\",\r\n\t\t\t\t\"fileCover\": \"202304\/102522FBXdDvhLHg_.jpg\",\r\n\t\t\t\t\"lastUpdateTime\": \"2023-04-12 09:30:21\",\r\n\t\t\t\t\"folderType\": 0,\r\n\t\t\t\t\"fileCategory\": 3,\r\n\t\t\t\t\"fileType\": 3,\r\n\t\t\t\t\"status\": 2\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\t\"fileId\": \"vWVCc9FxVf\",\r\n\t\t\t\t\"filePid\": \"0\",\r\n\t\t\t\t\"fileSize\": 28480,\r\n\t\t\t\t\"fileName\": \"xx3.jpg\",\r\n\t\t\t\t\"fileCover\": \"202304\/102522vWVCc9FxVf_.jpg\",\r\n\t\t\t\t\"lastUpdateTime\": \"2023-04-12 09:30:29\",\r\n\t\t\t\t\"folderType\": 0,\r\n\t\t\t\t\"fileCategory\": 3,\r\n\t\t\t\t\"fileType\": 3,\r\n\t\t\t\t\"status\": 2\r\n\t\t\t}\r\n\t\t]\r\n\t}\r\n}","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"9080f843-30bc-4d99-b976-b3cfc7e35abd"},{"local_target_id":"a27a8e03-93ef-44fc-8ca6-04791ac6f8d7","local_parent_id":"9080f843-30bc-4d99-b976-b3cfc7e35abd","name":"恢复文件","method":"POST","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":2,"create_dtime":1681006784,"update_dtime":1681293197,"local_server_id":"","target_id":"a27a8e03-93ef-44fc-8ca6-04791ac6f8d7","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:19:44","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/recycle\/recoverFile","description":"","body":{"mode":"form-data","parameter":[{"description":"所选文件ID","field_type":"String","is_checked":1,"key":"fileIds","value":"xxx,xxxx","not_null":1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/recycle\/recoverFile"},"response":{"success":{"raw":"","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"9080f843-30bc-4d99-b976-b3cfc7e35abd"},{"local_target_id":"34c763dd-a510-4b2d-bcdf-5d518f37dc6b","local_parent_id":"9080f843-30bc-4d99-b976-b3cfc7e35abd","name":"彻底删除文件","method":"POST","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":3,"create_dtime":1681006801,"update_dtime":1681293225,"local_server_id":"","target_id":"34c763dd-a510-4b2d-bcdf-5d518f37dc6b","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:20:01","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/recycle\/delFile","description":"","body":{"mode":"form-data","parameter":[{"description":"所选文件ID","field_type":"String","is_checked":1,"key":"fileIds","value":"xxx,xxx","not_null":1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/recycle\/delFile"},"response":{"success":{"raw":"","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"9080f843-30bc-4d99-b976-b3cfc7e35abd"}]},{"local_target_id":"492cb8ad-a2e6-4774-8351-af6561249282","local_parent_id":"4194c791-774d-4604-9568-2ed9deb01622","name":"设置(管理员)","method":"POST","mark":"developing","is_doc":0,"target_type":"folder","example_type":"0","project_id":2995618,"status":1,"sort":5,"create_dtime":1681006994,"update_dtime":1681006994,"local_server_id":"","target_id":"492cb8ad-a2e6-4774-8351-af6561249282","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:23:14","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"script":{"pre_script":"","test":"","pre_script_switch":1,"test_switch":1},"request":{"description":"","header":[],"query":[],"body":[],"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""}}},"parent_id":"4194c791-774d-4604-9568-2ed9deb01622","children":[{"local_target_id":"60b6ca09-93d8-4b0b-a815-c414019db655","local_parent_id":"492cb8ad-a2e6-4774-8351-af6561249282","name":"获取系统设置","method":"POST","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":1,"create_dtime":1681007014,"update_dtime":1681294964,"local_server_id":"","target_id":"60b6ca09-93d8-4b0b-a815-c414019db655","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:23:34","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/admin\/getSysSettings","description":"","body":{"mode":"none","parameter":[],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/admin\/getSysSettings"},"response":{"success":{"raw":"{\r\n\t\"status\": \"success\",\r\n\t\"code\": 200,\r\n\t\"info\": \"请求成功\",\r\n\t\"data\": {\r\n\t\t\"registerEmailTitle\": \"邮箱验证码\",\r\n\t\t\"registerEmailContent\": \"你好，您的邮箱验证码是：%s，15分钟有效\",\r\n\t\t\"userInitUseSpace\": 5\r\n\t}\r\n}","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"492cb8ad-a2e6-4774-8351-af6561249282"},{"local_target_id":"fa0eef5d-0006-4b1f-b87c-c8efad018ba5","local_parent_id":"492cb8ad-a2e6-4774-8351-af6561249282","name":"保存系统设置","method":"POST","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":2,"create_dtime":1681007038,"update_dtime":1681295022,"local_server_id":"","target_id":"fa0eef5d-0006-4b1f-b87c-c8efad018ba5","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:23:58","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/admin\/saveSysSettings","description":"","body":{"mode":"form-data","parameter":[{"description":"发送邮箱标题","field_type":"String","is_checked":1,"key":"registerEmailTitle","value":"","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"发送邮箱内容","field_type":"String","is_checked":1,"key":"registerEmailContent","value":"","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"用户初始化空间配额","field_type":"String","is_checked":1,"key":"userInitUseSpace","value":"","not_null":1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/admin\/saveSysSettings"},"response":{"success":{"raw":"{\r\n\t\"status\": \"success\",\r\n\t\"code\": 200,\r\n\t\"info\": \"请求成功\",\r\n\t\"data\": null\r\n}","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"492cb8ad-a2e6-4774-8351-af6561249282"},{"local_target_id":"37962985-b0d7-4323-8701-3169967fe042","local_parent_id":"492cb8ad-a2e6-4774-8351-af6561249282","name":"获取用户列表","method":"POST","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":3,"create_dtime":1681007057,"update_dtime":1681295272,"local_server_id":"","target_id":"37962985-b0d7-4323-8701-3169967fe042","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:24:17","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/admin\/loadUserList","description":"","body":{"mode":"form-data","parameter":[{"description":"页码","field_type":"String","is_checked":1,"key":"pageNo","value":"","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"分页大小","field_type":"String","is_checked":1,"key":"pageSize","value":"","not_null":-1,"type":"Text","value_var":"","key_var":""},{"description":"昵称模糊搜索","field_type":"String","is_checked":1,"key":"nickNameFuzzy","value":"","not_null":-1,"type":"Text","value_var":"","key_var":""},{"description":"状态","field_type":"String","is_checked":1,"key":"status","value":"","not_null":-1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/admin\/loadUserList"},"response":{"success":{"raw":"{\r\n\t\"status\": \"success\",\r\n\t\"code\": 200,\r\n\t\"info\": \"请求成功\",\r\n\t\"data\": {\r\n\t\t\"totalCount\": 2,\r\n\t\t\"pageSize\": 15,\r\n\t\t\"pageNo\": 1,\r\n\t\t\"pageTotal\": 1,\r\n\t\t\"list\": [\r\n\t\t\t{\r\n\t\t\t\t\"userId\": \"3178033358\",\r\n\t\t\t\t\"nickName\": \"程序员老罗\",\r\n\t\t\t\t\"email\": \"laoluo_coder@qq.com\",\r\n\t\t\t\t\"qqAvatar\": null,\r\n\t\t\t\t\"joinTime\": \"2023-04-11 14:45:25\",\r\n\t\t\t\t\"lastLoginTime\": \"2023-04-11 14:47:52\",\r\n\t\t\t\t\"status\": 1,\r\n\t\t\t\t\"useSpace\": 0,\r\n\t\t\t\t\"totalSpace\": 5242880\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\t\"userId\": \"102522\",\r\n\t\t\t\t\"nickName\": \"程序员老罗1\",\r\n\t\t\t\t\"email\": \"test@qq.com\",\r\n\t\t\t\t\"qqAvatar\": null,\r\n\t\t\t\t\"joinTime\": null,\r\n\t\t\t\t\"lastLoginTime\": \"2023-04-12 09:11:19\",\r\n\t\t\t\t\"status\": null,\r\n\t\t\t\t\"useSpace\": 0,\r\n\t\t\t\t\"totalSpace\": 104857600\r\n\t\t\t}\r\n\t\t]\r\n\t}\r\n}","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"492cb8ad-a2e6-4774-8351-af6561249282"},{"local_target_id":"e3c72519-0523-45dd-83b3-7021c01d859d","local_parent_id":"492cb8ad-a2e6-4774-8351-af6561249282","name":"修改用户状态","method":"POST","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":4,"create_dtime":1681007081,"update_dtime":1681295299,"local_server_id":"","target_id":"e3c72519-0523-45dd-83b3-7021c01d859d","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:24:41","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/admin\/updateUserStatus","description":"","body":{"mode":"form-data","parameter":[{"description":"用户ID","field_type":"String","is_checked":1,"key":"userId","value":"","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"状态","field_type":"String","is_checked":1,"key":"status","value":"","not_null":1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/admin\/updateUserStatus"},"response":{"success":{"raw":"","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"492cb8ad-a2e6-4774-8351-af6561249282"},{"local_target_id":"e3384df4-d2e2-4880-9d00-84065dd2daff","local_parent_id":"492cb8ad-a2e6-4774-8351-af6561249282","name":"修改用户空间","method":"POST","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":5,"create_dtime":1681007102,"update_dtime":1681295327,"local_server_id":"","target_id":"e3384df4-d2e2-4880-9d00-84065dd2daff","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:25:02","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/admin\/updateUserSpace","description":"","body":{"mode":"form-data","parameter":[{"description":"用户ID","field_type":"String","is_checked":1,"key":"userId","value":"","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"改变的空间 单位MB","field_type":"String","is_checked":1,"key":"changeSpace","value":"","not_null":1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/admin\/updateUserSpace"},"response":{"success":{"raw":"","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"492cb8ad-a2e6-4774-8351-af6561249282"},{"local_target_id":"68f5dc59-ad7d-46a6-b52d-1604ca85ee8c","local_parent_id":"492cb8ad-a2e6-4774-8351-af6561249282","name":"获取所有文件","method":"POST","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":6,"create_dtime":1681007127,"update_dtime":1681382771,"local_server_id":"","target_id":"68f5dc59-ad7d-46a6-b52d-1604ca85ee8c","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:25:27","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/admin\/loadFileList","description":"","body":{"mode":"form-data","parameter":[{"description":"页码","field_type":"String","is_checked":1,"key":"pageNo","value":"","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"","field_type":"String","is_checked":1,"key":"pageSize","value":"","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"文件名模糊搜索","field_type":"String","is_checked":1,"key":"fileNameFuzzy","value":"","not_null":-1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/admin\/loadFileList"},"response":{"success":{"raw":"","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"492cb8ad-a2e6-4774-8351-af6561249282"},{"local_target_id":"a74664a9-5e24-4426-9837-5940e9b1a6f4","local_parent_id":"492cb8ad-a2e6-4774-8351-af6561249282","name":"获取当前目录信息","method":"POST","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":7,"create_dtime":1681007152,"update_dtime":1681295394,"local_server_id":"","target_id":"a74664a9-5e24-4426-9837-5940e9b1a6f4","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:25:52","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/admin\/getFolderInfo","description":"","body":{"mode":"form-data","parameter":[{"description":"","field_type":"String","is_checked":1,"key":"path","value":"","not_null":1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/admin\/getFolderInfo"},"response":{"success":{"raw":"","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"492cb8ad-a2e6-4774-8351-af6561249282"},{"local_target_id":"cc223702-6d8e-4f58-9103-562fb6a854ff","local_parent_id":"492cb8ad-a2e6-4774-8351-af6561249282","name":"获取文件信息","method":"GET","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":8,"create_dtime":1681007183,"update_dtime":1683450907,"local_server_id":"","target_id":"cc223702-6d8e-4f58-9103-562fb6a854ff","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:26:23","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/admin\/getFile\/{userId}\/{fileId}","description":"","body":{"mode":"form-data","parameter":[],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[{"key":"userId","description":"","is_checked":1,"type":"Text","not_null":1,"field_type":"String","value":"","value_var":"","key_var":""},{"key":"fileId","description":"","is_checked":1,"type":"Text","not_null":1,"field_type":"String","value":"","value_var":"","key_var":""}]},"origin_url":"http:\/\/localhost:7090\/api\/admin\/getFile\/{userId}\/{fileId}"},"response":{"success":{"raw":"","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"492cb8ad-a2e6-4774-8351-af6561249282"},{"local_target_id":"81960fa4-7272-4660-808f-53064c0850b5","local_parent_id":"492cb8ad-a2e6-4774-8351-af6561249282","name":"创建下载链接","method":"POST","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":9,"create_dtime":1681007210,"update_dtime":1683451081,"local_server_id":"","target_id":"81960fa4-7272-4660-808f-53064c0850b5","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:26:50","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/admin\/createDownloadUrl\/{userId}\/{fileId}","description":"","body":{"mode":"form-data","parameter":[],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[{"key":"userId","description":"","is_checked":1,"type":"Text","not_null":1,"field_type":"String","value":"","value_var":"","key_var":""},{"key":"fileId","description":"","is_checked":1,"type":"Text","not_null":1,"field_type":"String","value":"","value_var":"","key_var":""}]},"origin_url":"http:\/\/localhost:7090\/api\/admin\/createDownloadUrl\/{userId}\/{fileId}"},"response":{"success":{"raw":"","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"492cb8ad-a2e6-4774-8351-af6561249282"},{"local_target_id":"d0f8ac65-e635-42e2-8e69-489a480917f2","local_parent_id":"492cb8ad-a2e6-4774-8351-af6561249282","name":"下载文件","method":"GET","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":10,"create_dtime":1681007251,"update_dtime":1681295519,"local_server_id":"","target_id":"d0f8ac65-e635-42e2-8e69-489a480917f2","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:27:31","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/admin\/download","description":"","body":{"mode":"form-data","parameter":[{"description":"创建下载链接返回的code","field_type":"String","is_checked":1,"key":"code","value":"","not_null":1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/admin\/download"},"response":{"success":{"raw":"","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"492cb8ad-a2e6-4774-8351-af6561249282"},{"local_target_id":"a6e8db72-48e4-47a0-b8da-3e7b99f76043","local_parent_id":"492cb8ad-a2e6-4774-8351-af6561249282","name":"删除文件","method":"POST","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":11,"create_dtime":1681007284,"update_dtime":1681295593,"local_server_id":"","target_id":"a6e8db72-48e4-47a0-b8da-3e7b99f76043","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:28:04","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/admin\/delFile","description":"","body":{"mode":"form-data","parameter":[{"description":"文件和用户ID用_隔开，多个参数用 逗号隔开","field_type":"String","is_checked":1,"key":"fileIdAndUserIds","value":"xxx_dddd,xxxxxx_sdwe","not_null":1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/admin\/delFile"},"response":{"success":{"raw":"","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"492cb8ad-a2e6-4774-8351-af6561249282"}]},{"local_target_id":"a2ef34fa-df0a-40fe-9365-c37f8876abda","local_parent_id":"4194c791-774d-4604-9568-2ed9deb01622","name":"外部分享","method":"POST","mark":"developing","is_doc":0,"target_type":"folder","example_type":"0","project_id":2995618,"status":1,"sort":6,"create_dtime":1681007322,"update_dtime":1681007715,"local_server_id":"","target_id":"a2ef34fa-df0a-40fe-9365-c37f8876abda","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:28:42","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"script":{"pre_script":"","test":"","pre_script_switch":1,"test_switch":1},"request":{"description":"","header":[],"query":[],"body":[],"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""}}},"parent_id":"4194c791-774d-4604-9568-2ed9deb01622","children":[{"local_target_id":"81b1fe04-ec79-44aa-94fb-976179cf8d1d","local_parent_id":"a2ef34fa-df0a-40fe-9365-c37f8876abda","name":"获取用户登录信息","method":"POST","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":0,"create_dtime":1681007418,"update_dtime":1681296116,"local_server_id":"","target_id":"81b1fe04-ec79-44aa-94fb-976179cf8d1d","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:30:18","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/showShare\/getShareLoginInfo","description":"","body":{"mode":"form-data","parameter":[{"description":"分享id","field_type":"String","is_checked":1,"key":"shareId","value":"Ve5IXOuqxL4hw1NkCR9U","not_null":1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/showShare\/getShareLoginInfo"},"response":{"success":{"raw":"{\r\n\t\"status\": \"success\",\r\n\t\"code\": 200,\r\n\t\"info\": \"请求成功\",\r\n\t\"data\": {\r\n\t\t\"shareTime\": \"2023-04-12 18:37:44\",\r\n\t\t\"expireTime\": \"2023-04-13 18:37:44\",\r\n\t\t\"nickName\": \"程序员老罗1\",\r\n\t\t\"fileName\": \"xx212222.jpg\",\r\n\t\t\"currentUser\": true,\r\n\t\t\"fileId\": \"FBXdDvhLHg\",\r\n\t\t\"avatar\": null,\r\n\t\t\"userId\": \"102522\"\r\n\t}\r\n}","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"a2ef34fa-df0a-40fe-9365-c37f8876abda"},{"local_target_id":"2ad4883d-9129-4fd9-acf5-964cb18bb88e","local_parent_id":"a2ef34fa-df0a-40fe-9365-c37f8876abda","name":"获取分享信息","method":"POST","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":1,"create_dtime":1681007329,"update_dtime":1681295829,"local_server_id":"","target_id":"2ad4883d-9129-4fd9-acf5-964cb18bb88e","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:28:49","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/showShare\/getShareInfo","description":"","body":{"mode":"form-data","parameter":[{"description":"","field_type":"String","is_checked":1,"key":"shareId","value":"AfIMnEObgtFigLhaoCjk","not_null":1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/showShare\/getShareInfo"},"response":{"success":{"raw":"{\r\n\t\"status\": \"success\",\r\n\t\"code\": 200,\r\n\t\"info\": \"请求成功\",\r\n\t\"data\": {\r\n\t\t\"shareTime\": \"2023-04-12 18:35:43\",\r\n\t\t\"expireTime\": \"2023-04-13 18:35:43\",\r\n\t\t\"nickName\": \"程序员老罗1\",\r\n\t\t\"fileName\": \"23232323\",\r\n\t\t\"currentUser\": null,\r\n\t\t\"fileId\": \"lYf7edaqUi\",\r\n\t\t\"avatar\": null,\r\n\t\t\"userId\": \"102522\"\r\n\t}\r\n}","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"a2ef34fa-df0a-40fe-9365-c37f8876abda"},{"local_target_id":"a5f84cc8-34e4-4b70-b999-9ace80b41991","local_parent_id":"a2ef34fa-df0a-40fe-9365-c37f8876abda","name":"校验分享码","method":"POST","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":2,"create_dtime":1681007381,"update_dtime":1681382771,"local_server_id":"","target_id":"a5f84cc8-34e4-4b70-b999-9ace80b41991","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:29:41","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/showShare\/checkShareCode","description":"","body":{"mode":"form-data","parameter":[{"description":"分享id","field_type":"String","is_checked":1,"key":"shareId","value":"Ve5IXOuqxL4hw1NkCR9U","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"分享码","field_type":"String","is_checked":1,"key":"code","value":"GEm25","not_null":1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/showShare\/checkShareCode"},"response":{"success":{"raw":"{\r\n\t\"status\": \"success\",\r\n\t\"code\": 200,\r\n\t\"info\": \"请求成功\",\r\n\t\"data\": null\r\n}","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"a2ef34fa-df0a-40fe-9365-c37f8876abda"},{"local_target_id":"6954cf06-7f80-4480-8a26-15d2ff5e8783","local_parent_id":"a2ef34fa-df0a-40fe-9365-c37f8876abda","name":"获取文件列表","method":"POST","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":3,"create_dtime":1681007464,"update_dtime":1684064534,"local_server_id":"","target_id":"6954cf06-7f80-4480-8a26-15d2ff5e8783","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:31:04","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/showShare\/loadFileList","description":"","body":{"mode":"form-data","parameter":[{"description":"分享id","field_type":"String","is_checked":1,"key":"shareId","value":"Ve5IXOuqxL4hw1NkCR9U","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"","field_type":"String","is_checked":-1,"key":"filePid","value":"父级ID","not_null":1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/showShare\/loadFileList"},"response":{"success":{"raw":"{\r\n\t\"status\": \"success\",\r\n\t\"code\": 200,\r\n\t\"info\": \"请求成功\",\r\n\t\"data\": {\r\n\t\t\"totalCount\": 1,\r\n\t\t\"pageSize\": 15,\r\n\t\t\"pageNo\": 1,\r\n\t\t\"pageTotal\": 1,\r\n\t\t\"list\": [\r\n\t\t\t{\r\n\t\t\t\t\"fileId\": \"FBXdDvhLHg\",\r\n\t\t\t\t\"filePid\": \"0\",\r\n\t\t\t\t\"fileSize\": 15175,\r\n\t\t\t\t\"fileName\": \"xx212222.jpg\",\r\n\t\t\t\t\"fileCover\": \"202304\/102522FBXdDvhLHg_.jpg\",\r\n\t\t\t\t\"lastUpdateTime\": \"2023-04-12 18:40:33\",\r\n\t\t\t\t\"folderType\": 0,\r\n\t\t\t\t\"fileCategory\": 3,\r\n\t\t\t\t\"fileType\": 3,\r\n\t\t\t\t\"status\": 2\r\n\t\t\t}\r\n\t\t]\r\n\t}\r\n}","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"a2ef34fa-df0a-40fe-9365-c37f8876abda"},{"local_target_id":"580ec082-02ff-416f-8cf1-c11005ffa7c6","local_parent_id":"a2ef34fa-df0a-40fe-9365-c37f8876abda","name":"获取目录信息","method":"POST","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":4,"create_dtime":1681007512,"update_dtime":1681296263,"local_server_id":"","target_id":"580ec082-02ff-416f-8cf1-c11005ffa7c6","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:31:52","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/showShare\/getFolderInfo","description":"","body":{"mode":"form-data","parameter":[{"description":"分享id","field_type":"String","is_checked":1,"key":"shareId","value":"","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"完整路径","field_type":"String","is_checked":1,"key":"path","value":"","not_null":1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/showShare\/getFolderInfo"},"response":{"success":{"raw":"","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"a2ef34fa-df0a-40fe-9365-c37f8876abda"},{"local_target_id":"9bc6f2fe-5d00-48e6-8623-3cb09114ca8c","local_parent_id":"a2ef34fa-df0a-40fe-9365-c37f8876abda","name":"获取文件信息","method":"GET","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":5,"create_dtime":1681007490,"update_dtime":1681296249,"local_server_id":"","target_id":"9bc6f2fe-5d00-48e6-8623-3cb09114ca8c","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:31:30","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/showShare\/getFile","description":"","body":{"mode":"form-data","parameter":[{"description":"分享id","field_type":"String","is_checked":1,"key":"shareId","value":"Ve5IXOuqxL4hw1NkCR9U","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"文件ID","field_type":"String","is_checked":1,"key":"fileId","value":"FBXdDvhLHg","not_null":1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/showShare\/getFile"},"response":{"success":{"raw":"","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"a2ef34fa-df0a-40fe-9365-c37f8876abda"},{"local_target_id":"75c29bff-1374-4017-b7a3-3586b717e07b","local_parent_id":"a2ef34fa-df0a-40fe-9365-c37f8876abda","name":"创建下载链接","method":"GET","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":6,"create_dtime":1681007560,"update_dtime":1681296391,"local_server_id":"","target_id":"75c29bff-1374-4017-b7a3-3586b717e07b","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:32:40","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/showShare\/createDownloadUrl","description":"","body":{"mode":"form-data","parameter":[{"description":"分享id","field_type":"String","is_checked":1,"key":"shareId","value":"Ve5IXOuqxL4hw1NkCR9U","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"文件ID","field_type":"String","is_checked":1,"key":"fileId","value":"FBXdDvhLHg","not_null":1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/showShare\/createDownloadUrl"},"response":{"success":{"raw":"{\r\n\t\"status\": \"success\",\r\n\t\"code\": 200,\r\n\t\"info\": \"请求成功\",\r\n\t\"data\": \"xzFp0F9n44SxZirGChgA0RwgtVf9rm5r26LiVuTxpCeouVn2Dg\"\r\n}","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"a2ef34fa-df0a-40fe-9365-c37f8876abda"},{"local_target_id":"7e9928a6-c3a0-47e4-965f-4c0e1dde549c","local_parent_id":"a2ef34fa-df0a-40fe-9365-c37f8876abda","name":"下载文件","method":"GET","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":7,"create_dtime":1681007601,"update_dtime":1681296457,"local_server_id":"","target_id":"7e9928a6-c3a0-47e4-965f-4c0e1dde549c","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:33:21","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/showShare\/download","description":"","body":{"mode":"form-data","parameter":[{"description":"下载链接返回的code","field_type":"String","is_checked":1,"key":"code","value":"","not_null":1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/showShare\/download"},"response":{"success":{"raw":"","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"a2ef34fa-df0a-40fe-9365-c37f8876abda"},{"local_target_id":"a4373211-da55-4c27-a376-9e560b85a990","local_parent_id":"a2ef34fa-df0a-40fe-9365-c37f8876abda","name":"保存到我的网盘","method":"POST","mark":"developing","is_doc":0,"target_type":"api","example_type":"0","project_id":"a79e4400-61c2-4901-8d02-25f5aac79bf4","status":1,"sort":8,"create_dtime":1681007536,"update_dtime":1681296790,"local_server_id":"","target_id":"a4373211-da55-4c27-a376-9e560b85a990","modifier_id":"UBMDNEC721C0","created_uuid":"UBMDNEC721C0","extend_server_id":"","create_time":"2023-04-09 10:32:16","create_users":{"create_user":"程序员老罗","update_user":"程序员老罗"},"color":"","attribute_lists":[],"enable_server_mock":-1,"mock_server_url":"","mock_url":"","request":{"url":"http:\/\/localhost:7090\/api\/showShare\/saveShare","description":"","body":{"mode":"form-data","parameter":[{"description":"分享id","field_type":"String","is_checked":1,"key":"shareId","value":"Ve5IXOuqxL4hw1NkCR9U","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"分享的文件ID,多个逗号隔开","field_type":"String","is_checked":1,"key":"shareFileIds","value":"111,qqq","not_null":1,"type":"Text","value_var":"","key_var":""},{"description":"我的网盘目录ID","field_type":"String","is_checked":1,"key":"myFolderId","value":"wqwqwqw","not_null":1,"type":"Text","value_var":"","key_var":""}],"raw":"","raw_para":[],"raw_schema":[]},"event":{"pre_script":"","test":""},"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""},"digest":{"username":"","password":"","realm":"","nonce":"","algorithm":"","qop":"","nc":"","cnonce":"","opaque":""},"hawk":{"authId":"","authKey":"","algorithm":"","user":"","nonce":"","extraData":"","app":"","delegation":"","timestamp":"","includePayloadHash":-1},"awsv4":{"accessKey":"","secretKey":"","region":"","service":"","sessionToken":"","addAuthDataToQuery":-1},"ntlm":{"username":"","password":"","domain":"","workstation":"","disableRetryRequest":1},"edgegrid":{"accessToken":"","clientToken":"","clientSecret":"","nonce":"","timestamp":"","baseURi":"","headersToSign":""},"oauth1":{"consumerKey":"","consumerSecret":"","signatureMethod":"","addEmptyParamsToSign":-1,"includeBodyHash":-1,"addParamsToHeader":-1,"realm":"","version":"1.0","nonce":"","timestamp":"","verifier":"","callback":"","tokenSecret":"","token":""}},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"origin_url":"http:\/\/localhost:7090\/api\/showShare\/saveShare"},"response":{"success":{"raw":"{\r\n\t\"status\": \"success\",\r\n\t\"code\": 200,\r\n\t\"info\": \"请求成功\",\r\n\t\"data\": null\r\n}","parameter":[],"expect":{"name":"成功","isDefault":1,"code":200,"contentType":"json","verifyType":"schema","schema":[],"mock":""}},"error":{"raw":"","parameter":[],"expect":{"name":"失败","isDefault":-1,"code":404,"contentType":"json","verifyType":"schema","schema":[],"mock":""}}},"parent_id":"a2ef34fa-df0a-40fe-9365-c37f8876abda"}]}]}]}};
        apipostData = apipostData.data;
        consoleLog('apipostData ---- ',apipostData);
    } catch (e) { }

    if (!_.isEmpty(apipostData)) {
        if (!_.isArray(apipostData.children)) {
            apipostData.children = [];
        }

        // 导航菜单
        apipostData.children = sortData(apipostData.children, 'ascending');

        // 数据词典（对象，键为target_id）
        const dataDB = {};
        const ruleType = (data) => {
            const d = Object.prototype.toString.call(data);
            return d.substr(8, d.length - 9);
        };

        const renderListtoObject = (List) => {
            if (ruleType(List) === 'Array') {
                List &&
                List.forEach((item) => {
                    if (item.children) {
                        renderListtoObject(item.children);
                        dataDB[item.target_id] = item;
                    } else {
                        dataDB[item.target_id] = item;
                    }
                });
            }
        };

        // 搜索
        $(document).on('input', 'input[name="search-input"]', function () {
            let keyword = _.toLower($(this).val());
            let searchResult = [];

            if (keyword == '') {
                $('.apipost-left-nav-template').find('li').removeClass('is-search-hidden search-toggle');
            } else {

                if (_.isObject(dataDB) && !_.isEmpty(dataDB)) {
                    _.forEach(dataDB, function (item) {
                        consoleLog(_.toLower(item.name), keyword, _.toLower(item.name).indexOf(keyword))
                        if (_.toLower(item.url).indexOf(keyword) > -1 || _.toLower(item.name).indexOf(keyword) > -1 || _.toLower(item.method).indexOf(keyword) > -1) {
                            searchResult.push(item.target_id);
                        }
                    });

                    if (searchResult.length == 0) {
                        $('.apipost-left-nav-template').find('li').addClass('is-search-hidden');
                    } else {
                        searchResult.forEach(target_id => {
                            searchResult = _.concat(searchResult, getParentTargetIDs(Object.values(dataDB), target_id));
                        })
                    }

                    // 隐藏其他
                    _.difference(Object.keys(dataDB), searchResult).forEach(hidden_target_id => {
                        $(`.apipost-left-nav-template li[data-target_id="${hidden_target_id}"]`).addClass('is-search-hidden');
                        $(`.apipost-left-nav-template li[data-target_id="${hidden_target_id}"][data-type="folder"]`).addClass('search-toggle');
                    })

                    // 展示结果
                    searchResult.forEach(show_target_id => {
                        $(`.apipost-left-nav-template li[data-target_id="${show_target_id}"]`).removeClass('is-search-hidden is-hidden search-toggle');
                        $(`.apipost-left-nav-template li[data-target_id="${show_target_id}"][data-type="folder"]`).removeClass('search-toggle');
                    })
                }
            }
        })

        renderListtoObject(apipostData.children);

        // 获取当前的target_id
        let _target_id = '001';
        const _urlParas = GetUrlQuery();

        if (_.isObject(_urlParas) && _.isString(_urlParas.target_id)) {
            _target_id = _urlParas.target_id;
        }

        // 修改地址栏
        function changeURLStatic(name, value) {
            const url = changeURLParam(location.href, name, value); // 修改 URL 参数
            history.replaceState(null, null, url); // 替换地址栏
        }

        function changeURLParam(url, name, value) {
            const reg = eval(`/([?|&]${name}=)[^&]*/gi`);
            value = value.toString().replace(/(^\s*)|(\s*$)/g, ''); // 移除首尾空格
            let url2;
            if (!value) {
                // remove
                url2 = url.replace(reg, '');
            } else if (url.match(reg)) {
                // edit
                url2 = url.replace(reg, `$1${value}`);
            } else {
                // add
                url2 = `${url + (url.indexOf('?') > -1 ? '&' : '?') + name}=${value}`;
            }
            return url2;
        }

        // 格式化内容
        function formatJson(json) {
            // consoleLog(json, apipostData);

            // name
            if (json.target_type == 'global') {
                _.set(json, 'name', '全局公共参数');
            }

            // mark
            if (_.has(apipostData, 'project.vars.mark') && _.isArray(apipostData.project.vars.mark)) {
                const _markedObj = {};
                apipostData.project.vars.mark.forEach((item) => {
                    _markedObj[item.key] = item;
                });

                if (_.isObject(_markedObj[json.mark])) {
                    _.set(json, 'formatMark', _markedObj[json.mark]);
                }
            }

            // time
            if (_.isNumber(json.create_dtime)) {
                if (String(json.create_dtime).length == 10) {
                    _.set(
                        json,
                        'format_create_dtime',
                        dayjs.unix(json.create_dtime).format('YYYY-MM-DD HH:mm:ss')
                    );
                }

                if (String(json.create_dtime).length == 13) {
                    _.set(json, 'format_create_dtime', dayjs(json.create_dtime).format('YYYY-MM-DD HH:mm:ss'));
                }
            } else {
                if (_.isString(json.create_dtime)) {
                    _.set(json, 'format_create_dtime', json.create_dtime);
                } else {
                    _.set(json, 'format_create_dtime', dayjs().format('YYYY-MM-DD HH:mm:ss'));
                }
            }

            if (_.isNumber(json.update_dtime)) {
                if (String(json.update_dtime).length == 10) {
                    _.set(
                        json,
                        'format_update_dtime',
                        dayjs.unix(json.update_dtime).format('YYYY-MM-DD HH:mm:ss')
                    );
                }

                if (String(json.update_dtime).length == 13) {
                    _.set(json, 'format_update_dtime', dayjs(json.update_dtime).format('YYYY-MM-DD HH:mm:ss'));
                }
            } else {
                if (_.isString(json.update_dtime)) {
                    _.set(json, 'format_update_dtime', json.update_dtime);
                } else {
                    _.set(json, 'format_update_dtime', dayjs().format('YYYY-MM-DD HH:mm:ss'));
                }
            }

            // formatMode
            if (_.has(json, 'request.body.mode')) {
                switch (json.request.body.mode) {
                    case 'none':
                        break;
                    case 'form-data':
                        _.set(json, 'request.body.formatMode', 'multipart/form-data');
                        break;
                    case 'urlencoded':
                        _.set(json, 'request.body.formatMode', 'application/x-www-form-urlencoded');
                        break;
                    case 'json':
                        _.set(json, 'request.body.formatMode', 'application/json');
                        break;
                    case 'xml':
                        _.set(json, 'request.body.formatMode', 'application/xml');
                        break;
                    case 'javascript':
                        _.set(json, 'request.body.formatMode', 'application/javascript');
                        break;
                    case 'plain':
                        _.set(json, 'request.body.formatMode', 'text/plain');
                        break;
                    case 'html':
                        _.set(json, 'request.body.formatMode', 'text/html');
                        break;
                }
            }

            if(_.has(json, 'request.auth.type')) {
                switch (json.request.auth.type) {
                    case 'noauth':
                        _.set(json, 'request.authType', '无需认证');
                        break;
                    case 'awsv4':
                        _.set(json, 'request.authType', 'AWS Signature');
                        break;
                    case 'basic':
                        _.set(json, 'request.authType', 'Basic auth');
                        break;
                    case 'bearer':
                        _.set(json, 'request.authType', 'Bearer auth');
                        break;
                    case 'digest':
                        _.set(json, 'request.authType', 'Digest auth');
                        break;
                    case 'edgegrid':
                        _.set(json, 'request.authType', 'Akamai EdgeGrid');
                        break;
                    case 'hawk':
                        _.set(json, 'request.authType', 'Hawk authentication');
                        break;
                    case 'kv':
                        _.set(json, 'request.authType', '私密键值对');
                        break;
                    case 'ntlm':
                        _.set(json, 'request.authType', 'NTLM Authentication');
                        break;
                    case 'oauth1':
                        _.set(json, 'request.authType', 'OAuth 1.0');
                        break;
                }
            }

            json.url = json.request.url;
            return json;
        }

        // 加载当前数据
        function loadData(_target_id,dataDB) {

            // 获取当前的数据信息
            let _targetData = {};

            // 右侧浮动导航
            let floatNavs = [];

            if(_target_id == '001'){
                if (_.isObject(dataDB[_target_id])) {
                    _targetData = _.cloneDeep(dataDB[_target_id]);
                } else if (
                    _.has(apipostData, 'project.vars.request') &&
                    _.isObject(apipostData.project.vars.request)
                ) {
                    _targetData = {
                        target_type: 'global',
                        request: apipostData.project.vars.request,
                        script: apipostData.project.vars.script,
                    };
                } else {
                    _targetData = {
                        target_type: 'none',
                        request: {},
                    };
                }

                _targetData = formatJson(_targetData);

                $('.apipost-doc-body-nav-list').find('li').removeClass('active');
                $('.apipost-doc-body-nav-list')
                    .find(`li[data-target_id="${_target_id}"]`)
                    .eq(0)
                    .addClass('active')
                    .toggleClass('toggle search-toggle');

                // const children_ids = getChildrenTargetIDs(Object.values(dataDB), _target_id);
                //
                // if (_.isArray(children_ids)) {
                //     if (
                //         $('.apipost-doc-body-nav-list')
                //             .find(`li[data-target_id="${_target_id}"]`)
                //             .eq(0)
                //             .hasClass('toggle')
                //     ) {
                //         children_ids.forEach((target_id) => {
                //             if ($(`li[data-target_id="${target_id}"]`).attr('data-type') == 'folder') {
                //                 $(`li[data-target_id="${target_id}"]`).addClass('is-hidden toggle');
                //             } else {
                //                 $(`li[data-target_id="${target_id}"]`).addClass('is-hidden');
                //             }
                //         });
                //     } else {
                //         children_ids.forEach((target_id) => {
                //             if ($(`li[data-target_id="${target_id}"]`).attr('data-type') == 'folder') {
                //                 $(`li[data-target_id="${target_id}"]`).removeClass('is-hidden toggle');
                //             } else {
                //                 $(`li[data-target_id="${target_id}"]`).removeClass('is-hidden');
                //             }
                //         });
                //     }
                // }

                _targetData.copyData = JSON.parse(JSON.stringify(_targetData));
                if(_targetData.copyData.target_type == 'example'){
                    _targetData.copyData.target_type = _targetData.copyData.example_type;
                }

                // 加载左侧内容
                const _docContentHtml = template('apipost-doc-wrap-tpl', {
                    data: _targetData,
                    target_id: _target_id,
                });

                $('.apipost-doc-wrap').html(_docContentHtml);

                // 右侧浮动导航
                floatNavs = [];
                $('.apipost-doc-wrap').find('h3 ,h4, h5, h6, h7').each((i, item) => {
                    let text = $(item).attr('data-text');
                    let id = $(item).attr('id');
                    if (text) {
                        floatNavs.push({
                            text, id,
                            name: $(item).prop("tagName"),
                            indent: $(item).prop("tagName").replace(/[^0-9]/ig, "") - 2,
                        })
                    }
                })

                const _floatNavs = template('apipost-float-nav-template-tpl', {
                    list: floatNavs
                });

                $('.apipost-float-nav-template').html(_floatNavs);

                // 请求body raw 参数
                try {
                    if (_targetData.target_type == 'grpc' || _targetData.example_type == 'grpc') {
                        $('.request-body-raw-editor-json').each((i, item) => {
                            let val = $(item).prev('input').val();

                            if(val){
                                new JsonEditor(
                                    `#${$(item).attr('id')}`,
                                    JSON5.parse(val),
                                    {},
                                    []
                                ).load(JSON5.parse(val), []);
                            }
                        })
                    }

                    if (_targetData.target_type == 'api' || _targetData.example_type == 'api') {
                        let obj = [];
                        if (_.has(_targetData, 'request.body.raw_para')) {
                            obj = _targetData.request.body.raw_para.map((itemRaw) => {
                                const arr = itemRaw.key.split('.');
                                itemRaw.newKey = arr[arr.length - 1];
                                return itemRaw;
                            });
                        }

                        if($('#request-body-raw-editor-input').length > 0){
                            new JsonEditor('#request-body-raw-editor-json',
                                JSON5.parse($('#request-body-raw-editor-input').val()),
                                {},
                                obj
                            ).load(JSON5.parse($('#request-body-raw-editor-input').val()), obj);
                        }
                    }
                } catch (e) { }

                // 响应示例 raw 参数
                try {
                    _.forEach(_targetData.response, function (item, key) {
                        const obj = item.parameter.map((itemRaw) => {
                            const arr = itemRaw.key.split('.');
                            itemRaw.newKey = arr[arr.length - 1];
                            return itemRaw;
                        });

                        if($(`#response-raw-${key}-json-input`).length > 0){
                            new JsonEditor(`#response-raw-${key}-json`,
                                JSON5.parse($(`#response-raw-${key}-json-input`).val()),
                                {},
                                obj
                            ).load(JSON5.parse($(`#response-raw-${key}-json-input`).val()), obj);
                        }
                    });
                } catch (e) { }

                // 更新 url
                changeURLStatic('target_id', _target_id);

                // 优化 apipost-doc-paras 展示
                $('.apipost-doc-paras').each((i, item) => {
                    if ($(item).children().length == 0) {
                        let _id = $(item).attr('for-id');
                        let _title = $(`#${_id}`).attr('data-text');
                        let _tipDiv = `<div class="apipost-no-data">暂无${_title}数据</div>`;
                        $(item).append(_tipDiv)
                    }
                })
            }else {

                let newdata = Object.values(dataDB)
                // let LevelArr = []
                //
                // function levelTree(arr1, newarr) {
                //     arr1.forEach(item => {
                //         if (item.children && item.children.length > 0) {
                //             newarr.push(item)
                //             levelTree(item.children, newarr)
                //         } else {
                //             newarr.push(item)
                //         }
                //     })
                // }
                //
                // levelTree(newdata, LevelArr)

                newdata.forEach(item => {
                    if (item.local_target_id == _target_id) {

                        _targetData = formatJson(item);

                        $('.apipost-doc-body-nav-list').find('li').removeClass('active');
                        $('.apipost-doc-body-nav-list')
                            .find(`li[data-target_id="${_target_id}"]`)
                            .eq(0)
                            .addClass('active')
                            .toggleClass('toggle search-toggle');

                        const children_ids = getChildrenTargetIDs(Object.values(dataDB), _target_id);

                        if (_.isArray(children_ids)) {
                            if (
                                $('.apipost-doc-body-nav-list')
                                    .find(`li[data-target_id="${_target_id}"]`)
                                    .eq(0)
                                    .hasClass('toggle')
                            ) {
                                children_ids.forEach((target_id) => {
                                    if ($(`li[data-target_id="${target_id}"]`).attr('data-type') == 'folder') {
                                        $(`li[data-target_id="${target_id}"]`).addClass('is-hidden toggle');
                                    } else {
                                        $(`li[data-target_id="${target_id}"]`).addClass('is-hidden');
                                    }
                                });
                            } else {
                                children_ids.forEach((target_id) => {
                                    if ($(`li[data-target_id="${target_id}"]`).attr('data-type') == 'folder') {
                                        $(`li[data-target_id="${target_id}"]`).removeClass('is-hidden toggle');
                                    } else {
                                        $(`li[data-target_id="${target_id}"]`).removeClass('is-hidden');
                                    }
                                });
                            }
                        }

                        // 加载左侧内容
                        const _docContentHtml = template('apipost-doc-wrap-tpl', {
                            data: _targetData,
                            target_id: _target_id,
                        });

                        $('.apipost-doc-wrap').html(_docContentHtml);

                        // 右侧浮动导航
                        floatNavs = [];
                        $('.apipost-doc-wrap').find('h3 ,h4, h5, h6, h7').each((i, item) => {
                            let text = $(item).attr('data-text');
                            let id = $(item).attr('id');
                            if (text) {
                                floatNavs.push({
                                    text, id,
                                    name: $(item).prop("tagName"),
                                    indent: $(item).prop("tagName").replace(/[^0-9]/ig, "") - 2,
                                })
                            }
                        })

                        const _floatNavs = template('apipost-float-nav-template-tpl', {
                            list: floatNavs
                        });

                        $('.apipost-float-nav-template').html(_floatNavs);

                        // 请求body raw 参数
                        try {
                            if (_targetData.target_type == 'grpc' || _targetData.example_type == 'grpc') {
                                $('.request-body-raw-editor-json').each((i, item) => {
                                    let val = $(item).prev('input').val();

                                    if(val){
                                        new JsonEditor(
                                            `#${$(item).attr('id')}`,
                                            JSON5.parse(val),
                                            {},
                                            []
                                        ).load(JSON5.parse(val), []);
                                    }
                                })
                            }

                            if (_targetData.target_type == 'api' || _targetData.example_type == 'api') {
                                let obj = [];
                                if (_.has(_targetData, 'request.body.raw_para')) {
                                    obj = _targetData.request.body.raw_para.map((itemRaw) => {
                                        const arr = itemRaw.key.split('.');
                                        itemRaw.newKey = arr[arr.length - 1];
                                        return itemRaw;
                                    });
                                }

                                if($('#request-body-raw-editor-input').length > 0){
                                    new JsonEditor('#request-body-raw-editor-json',
                                        JSON5.parse($('#request-body-raw-editor-input').val()),
                                        {},
                                        obj
                                    ).load(JSON5.parse($('#request-body-raw-editor-input').val()), obj);
                                }
                            }
                        } catch (e) { }

                        // 响应示例 raw 参数
                        try {
                            _.forEach(_targetData.response, function (item, key) {
                                const obj = item.parameter.map((itemRaw) => {
                                    const arr = itemRaw.key.split('.');
                                    itemRaw.newKey = arr[arr.length - 1];
                                    return itemRaw;
                                });

                                if($(`#response-raw-${key}-json-input`).length > 0){
                                    new JsonEditor(`#response-raw-${key}-json`,
                                        JSON5.parse($(`#response-raw-${key}-json-input`).val()),
                                        {},
                                        obj
                                    ).load(JSON5.parse($(`#response-raw-${key}-json-input`).val()), obj);
                                }
                            });
                        } catch (e) { }
                        // 更新 url
                        changeURLStatic('target_id', _target_id);
                    }
                    // 优化 apipost-doc-paras 展示
                    $('.apipost-doc-paras').each((i, item) => {
                        if ($(item).children().length == 0) {
                            let _id = $(item).attr('for-id');
                            let _title = $(`#${_id}`).attr('data-text');
                            let _tipDiv = `<div class="apipost-no-data">暂无${_title}数据</div>`;
                            $(item).append(_tipDiv)
                        }
                    })
                })
            }

            // 折叠导航(移动端)
            $('.apipost-doc-body-nav,.apipost-doc-body-content').removeClass('open');

            $(document).on('scroll', function (e) {
                let currentNav= '';
                let scrollTop = $(document).scrollTop();

                floatNavs.forEach(item => {
                    if ($(`#${item.id}`).offset()) {
                        if ($(`#${item.id}`).offset().top > scrollTop && currentNav == '') {
                            currentNav = item.id
                            // console.log(currentNav)
                            $('.apipost-float-nav-template').find(`li[data-id="${currentNav}"]`).addClass('active').siblings().removeClass('active');
                        }
                    }
                })
                // console.log('请求参数:', $('#请求参数').offset().top, scrollTop)
            }).on('click', '.apipost-float-nav-template li', function(){
                $(this).addClass('active').siblings().removeClass('active');
            });

        }

        // 初始化左侧导航列表
        const _leftNavHtml = template('apipost-left-nav-template-tpl', {
            list: apipostData.children,
            target_id: _target_id,
        });

        $('.apipost-left-nav-template').html(_leftNavHtml);

        // 初始化项目公共信息
        $('title').text(`${apipostData.project_name} - Powered by Apipost V7`);
        $('.apipost-doc-body-nav-title').text(`${apipostData.project_name}`);

        // project-logo
        if (_.has(apipostData, 'project_logo') && apipostData.project_logo != '') {
            $('.project-logo').attr('src', apipostData.project_logo);
        }

        $('.project-logo').on('error', function () {
            $('.project-logo').attr('src', 'https://img.cdn.apipost.cn/docs/images7/logo.svg');
        });
        // consoleLog(apipostData)

        // 复制按钮
        const clipboard = new ClipboardJS('.copy-clipboard');
        clipboard.on('success', function (e) {
            $('.copy-clipboard-success').remove();
            $(e.trigger).append('<i class="copy-clipboard-success">复制成功</i>');
            e.clearSelection();
            $('.copy-clipboard-success').fadeOut(1000);
            setTimeout(function () {
                $('.copy-clipboard-success').remove();
            }, 1500);
        });

        clipboard.on('error', function (e) { });

        // 优化左侧菜单展示，默认收起
        // 获取当前的父ID
        let _target_parent_ids = getParentTargetIDs(Object.values(dataDB), _target_id);

        $('.apipost-left-nav-template').children('li').each((i, item) => {
            if ($(item).attr('data-type') == 'folder') {
                if (_target_parent_ids.indexOf($(item).attr('data-target_id')) == -1) {
                    $(item).addClass('toggle');
                } else {
                    $(item).removeClass('toggle');
                }
            }

            //if($(item).attr('data-type') != 'example') {
                if ($(item).attr('data-parent_id') != '0' && _target_parent_ids.indexOf($(item).attr('data-target_id')) == -1 && $(item).attr('data-target_id') != _target_id) {
                    $(item).addClass('is-hidden');
                } else {
                    $(item).removeClass('is-hidden');
                }
            //}
        })

        // 同级展示
        if (dataDB[_target_id]) {
            // $('.apipost-left-nav-template').children(`li[data-parent_id="${dataDB[_target_id].parent_id}"]`).removeClass('is-hidden');
            _target_parent_ids.forEach(_parent_id => {
                $('.apipost-left-nav-template').children(`li[data-parent_id="${_parent_id}"]`).removeClass('is-hidden');
            })
        }

        // alert(dataDB)
        // 加载单接口信息
        loadData(_target_id, dataDB);

        // 绑定事件
        $(document).on('click', '.mobile-nav-toggle-link-btn', function () { // 移动端导航
            $('.apipost-doc-body-nav,.apipost-doc-body-content').addClass('open');
        }).on('click', '.load-data-btn', function () { // 加载数据
            let target_id = $(this).attr('data-target_id');
            // let parent_id = $(this).attr('data-parent_id');
            // let target_type = $(this).attr('data-type');
            // let indent = $(this).attr('data-indent');

            // 加载单条数据
            loadData(target_id, dataDB);
        }).on('click', '.export-download-btn', function () { // 导出文档
            $(this).next('ul').toggleClass('is-hidden');
        })
    } else {
        // 空数据
        // consoleLog('null')
    }
</script>
<script>
    var _hmt = _hmt || [];
    (function () {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?a046ce178828e393614822a297b8d296";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
</script>
</body>

</html>
